~/talk

Java Language Futures, Spring 2023 Edition

Talkat Oracle DevLive Level Up: Java Developer Day 2023 · on Tuesday, 2023-03-21· [java]
slides:none on file

Overview of Project Amber language work through Java 20 with concrete code: demos of pattern matching for switch and record patterns (both in preview in JDK 20), examples of nested record extraction, guards with when, null handling via case null, and exhaustiveness rules tied to sealed classes. Shows before/after snippets (instanceof refactor, record replacement for boilerplate), explains compile-time dominance errors and how to try Early Access builds and give feedback on OpenJDK.

AI-written summary · about

  1. 0:00Start
  2. 4:43Test and extract
  3. 5:50Pattern Matching in instanceof
  4. 7:31Example: Equality methods
  5. 17:02Pattern matching for switch Basic form
  6. 31:44JEP 432: Record patterns
  7. 35:29Patterns can be nested
~/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.