~/talk

Cruising Along with Java: Benefiting from the Modern Features

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

Covers concrete Java changes since 10: local variable type inference (var) and its pitfalls (don’t use with diamond, needs context), text blocks for multi-line strings, and records as immutable data classes with getters, equals, hashCode and concise construction; recommends compact constructor over canonical for validation/transformation. Explains sealed interfaces/classes with permits and using non-sealed only for testing (keep nonpublic), and shows sealed + records + pattern matching with switch expressions, yield, destructuring, and compiler completeness checks.

AI-written summary · about

  1. 0:00Modern Java features
  2. 2:50Java release cycles
  3. 9:27Type inference
  4. 48:44Text blocks
  5. 1:00:36Records
  6. 1:42:08Sealed classes
  7. 2:08:37Pattern matching
~/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.