~/talk

Data-oriented programming in Java

Talkat GeeCON 2023 · 2023-04-19..04-21· [java, software-architecture]
slides:none on file

Shows that Java can be used for data‑oriented programming by converting a timesheet app into immutable records for payloads, using sealed classes to model exact/no/multiple search results, and applying pattern matching plus switch expressions and record deconstruction to drive flow without mutating objects. Demonstrates validation → store flows, compiler‑enforced exhaustiveness, and safer concurrency. Notes when features landed (records ~Java 14/15, pattern matching and sealed support later; recommends moving to Java 21 LTS to get the full set).

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:11About the speaker
  3. 1:56Agenda overview
  4. 2:40Evolution of Java apps
  5. 7:22Data-oriented programming principles
  6. 14:24Java support for DOP
  7. 15:09Java records explained
  8. 18:03Sealed classes in Java
  9. 21:14Pattern matching basics
  10. 26:22Advanced pattern matching
  11. 32:46Combining Java and DOP
  12. 33:07Optional sealed interface example
  13. 35:12Real-world REST example
  14. 39:26Summary of DOP in Java
  15. 40:09Q&A session
~/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.