~/talk

Data oriented Programming in Java

Talkat Great International Developer Summit 2023 · 2023-04-25..04-28· [java]
slides:none on file

Java uses recent language changes to turn a simple time-sheet app from object-rich stateful beans into a data-first design: records (Java 14) become immutable data carriers with compact constructors for validation, sealed classes (Java 15/16) plus exhaustible switch functions remove default branches, and pattern matching (Java 17–20) deconstructs records so switches return values and the compiler enforces completeness. Examples include reimplementing Optional as a sealed Some/None and a REST search returning exactly three record-based outcomes; the approach compiles, simplifies testing, and reduces class-hierarchy bloat.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 2:33Traditional OOP evolution
  3. 9:46Data oriented principles
  4. 17:50Java features supporting DOP
  5. 34:46Real-world code examples
  6. 52:57Summary and Q&A
~/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.