~/talk

How Amber is Driving Java’s Evolution

Talkat Devnexus 2022 · 2022-04-12..04-14· [java]
slides:none on file

Project Amber delivers concrete language changes: records generate equals/hashCode/toString and make data classes shallowly immutable, switch gains arrow syntax and expression form with yield to eliminate fall‑through and require exhaustiveness, and pattern matching (instanceof and switch) introduces pattern variables and flow scoping to remove nested null checks. Sealed classes let a type list its permitted subclasses. Features appear in JDK 14–17, with pattern matching for switch in preview rounds (JEPs 394, 395, 409 etc.), so expect iterative tweaks driven by community feedback.

AI-written summary · about

  1. 0:00Introduction and resources
  2. 2:17Overview of Project Amber
  3. 5:10Switch statement updates
  4. 10:59Pattern matching basics
  5. 14:51Working with records
  6. 18:53Sealed classes explained
  7. 22:31Design themes for Java
  8. 25:49Future language features
  9. 34:48Array patterns 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.