Saltar al contenido principal
0

Por ahora, esta lección está en inglés.

Your own types

A player has a name and points, and points must never go below zero. A class bundles data with the methods that guard it, and a record models plain data in a single line.