Cette leçon est en anglais pour le moment.
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.
Cette leçon est en anglais pour le moment.
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.