Class

A type with named fields and methods, used when several values always travel together. A game player, a request, and a parsed config are all worth a class; a pair of numbers is not.

Back to the glossary