~/talk

Modern Java Puzzlers

Talkat Jfokus 2026 · 2026-02-02..02-04· [java, developer-experience]
slides:none on file

Shows concrete failures and surprises: switch expressions require exhaustiveness while legacy switch statements do not, but using enhanced switch or case null reintroduces exhaustiveness checks and compiler errors. Demonstrates JDK23 features with primitives in patterns, runtime matching that can prefer byte over int, and many examples where autoboxing/unboxing and pattern dominance cause missing return or dominated case errors. Ends with contextual keyword and Unicode tricks that change tokenization and compilation.

AI-written summary · about

  1. 0:00Welcome
  2. 1:59Modern Java and switch expressions
  3. 12:43Primitives and pattern matching
  4. 31:39Guarded patterns and switches
  5. 43:21Sealed classes and keywords
  6. 47:30Unicode code comments
  7. 49:14Summary
~/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.