Record
Noun · Development
Definitions
A composite data type that groups related values under named fields, typically immutable. In Java 16+, records are concise data carriers. In TypeScript, Record<K,V> is a mapped type. In databases, a record is a single row. The concept predates all of these by decades.
In plain English: A simple container that bundles several pieces of related data together under named labels, like an index card with fields for name, age, and email.
Example: "Java records gave us immutable data classes with equals, hashCode, and toString generated automatically — goodbye boilerplate."