Java Language Futures
summary
Project Amber uses the six‑monthly release cadence and preview features to ship small, testable language slices that add up to records, sealed classes and pattern matching for data‑oriented programming: records are shallow immutable carrier classes, sealed hierarchies make ADTs explicit, and patterns deconstruct nested values. Planned pieces include deconstructors for non‑record classes, an instanceof statement and a reworked constructor prologue/epilogue model (pre‑super validation) that supports Valhalla goals and could let APIs like Future be modeled as pure data.
AI-written summary · about
chapters (10)
- 0:00Introduction to Project Amber
- 0:35Evolution of Java development
- 2:35Data oriented programming
- 4:45Records and sealed classes
- 7:55Future pattern matching
- 10:05Deconstructing arbitrary classes
- 13:11Language improvement proposals
- 15:13Reimagining object constructors
- 20:02Community contributions
- 24:38Q&A and closing
related talks
43mJava Language Futures, Spring 2023 Edition
46mWhere is the Java language going?
43mHow Amber is Driving Java’s Evolution
36mJava Language Futures - Mid 2020 Edition
01h 02mJava Project Amber - Not Just a Rare Fossil
47mJava Next - From Amber to Loom, from Panama to Valhalla
01h 03mProject Amber: Recent Java Language Features
48mUncovering Project Amber: Changes to the Java Language in v10 & Beyond
