Records are not meant as a short-cut to create a class. Instead, records are an
"anonymous, immutable, aggregate type"
that are
"structurally typed based on the types of their fields".
Their main use is to bundle multiple values of different types together. They can be used, for example, to return multiple values from a function (in a type-safe manner), or in the context of pattern-matching.