~/talk

Better Modeling Through Records

TalkinTurkishat Java Day Istanbul 2022 · 2022-05-27..05-28· [java, software-architecture]
links:none on file
slides:none on file

Introduces Java's new record classes (the record keyword) as a concise way to define immutable data carriers, with the compiler generating boilerplate like constructors, equals, and hashCode. Argues the purpose of records is not just reducing typing or imitating Lombok/@Data, but enabling better domain modeling and safer, more concurrent-friendly designs, similar to records in C# and data structures in Scala/Kotlin.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Records and Java features
  3. 6:30Records structure
  4. 12:39Value semantics and records
  5. 17:20Value vs reference semantics
  6. 24:46Modeling advantages with records
  7. 30:45Value semantics errors and fixes
  8. 34:41Modularity and records
  9. 39:24Language and thought
  10. 41:09Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.