~/talk

Pattern Matching

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java]
links:none on file
slides:none on file

Overview of concrete Java changes and roadmap: unnamed patterns and pattern variables are already delivered; the current preview adds primitive patterns in instanceof and switch so primitives and references interoperate in patterns; record patterns and sealed types enable composable deconstruction; the compiler performs an exhaustiveness check (avoiding silent defaults by inserting a synthetic default at runtime); future work proposes explicit deconstructors to mirror constructors so classes can opt into safe deconstruction.

AI-written summary · about

  1. 0:00Introduction
  2. 0:43Speaker background
  3. 1:48Pattern matching history
  4. 6:04Exhaustiveness benefits
  5. 9:44Learning Java tips
  6. 13:55Switch and instanceof
  7. 15:40Primitive types future
  8. 17:50Record patterns
  9. 20:39Deconstructable APIs
  10. 21:46Closing remarks
~/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.