Java records

2 moment(s) that assert this concept — showing 1–2 of 2

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Devoxx[2] Devoxx
showing 2 of 2 moments
Devoxx · youtube · en
1Records in Java 17 are immutable classes that model nominal data with named fields and derive standard methods like equals, hash code, and toString.
“a record is a class that models a nominal tuple it models a nominal slug of data that has types and it has names and so there's an example here of what a record uh declaration looks like”
spoken · 357s · 2024-05-04
Devoxx · youtube · en
2Records were introduced in Java 17 not primarily for code conciseness but to reduce boilerplate and support better data modeling.
“we didn't do records because code concision was the important thing the important thing was”
spoken · 436s · 2024-05-04