~/talk

A Few New Cool Features in Modern Java

Talkat Developers Summit 2021 · 2021-02-18..02-19· [java]
slides:none on file

Covers Java 12–16 concrete features with live code: smart casting (pattern matching for instanceof) that gives a typed temporary variable and scope rules; switch expressions with yield that return values, remove break, and support grouped and multiline cases; text blocks that produce compile-time LDC strings (no runtime overhead) and smart indentation for embedding SQL/HTML/JSON; records as immutable data classes auto-generating ctor/getters/toString/equals/hashCode; and sealed classes with permits to control hierarchies and enable exhaustive checks.

AI-written summary · about

  1. 0:00Introduction to modern Java
  2. 1:06Smart casting in Java
  3. 8:55Switch expressions explained
  4. 20:34Java's innovation approach
  5. 24:43Text blocks in Java
  6. 35:42Records in Java
  7. 48:25Sealed classes overview
  8. 54:46Closing and Q&A
~/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.