Перейти к основному содержимому
0

Этот урок пока на английском.

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.