~/talk

Getting the Most from Modern Java

Talkat Jfokus 2021 · on Tuesday, 2021-02-09· [java]
slides:none on file

Walks through concrete Java features since JDK11 and shows how to use them: switch expressions with yield (no fallthrough, comma lists), text blocks with incidental whitespace (three quotes, backslash escapes), records with compact constructors and generated equals/hashCode/toString, pattern matching for instanceof (inline cast variable), sealed classes with permits/non-sealed rules, plus local records used inside streams to rank sellers. Notes which features are preview vs final (records, pattern matching, sealed preview) and when not to adopt them.

AI-written summary · about

  1. 0:00Modern Java intro
  2. 1:57Switch expressions JDK 12
  3. 9:03Text blocks JDK 13
  4. 14:15Records JDK 14
  5. 19:48Pattern matching instanceof
  6. 24:26Sealed classes JDK 15
  7. 30:23JDK 16 updates
~/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.