~/talk

Data Focused programming with Pattern Matching in Java

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

Live coding shows Java records, sealed types and pattern matching actually reducing code and bugs: converting a hand-written Person class to a record makes collection lookups return true by providing equals/hashCode automatically and keeps fields immutable despite reflection attempts, while sealed interfaces plus sealed types enable exhaustive switches remove need for default cases. Demos use IntelliJ, switch expressions, record patterns to deconstruct JSON/CSV-like structures and show records make equals/hashCode implicit and pattern matching for instanceof reduces temp variables for concise, declarative data processing.

AI-written summary · about

  1. 0:00Introduction to DOP
  2. 7:30Working with records
  3. 23:53Sealed classes
  4. 36:28Pattern matching
  5. 45:35Real-world applications
~/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.