Evolving Java Project Amber
summary
Project Amber shows concrete language changes shipped in recent Java releases and next steps: local type inference arrives in Java 10 and lets developers use var not allowed on fields/parameters/returns; switch expressions (Java 12) and text blocks (Java 13) reduce boilerplate; records (Java 14) automatically generate constructors, accessors, equals/hashCode/toString and support compact constructors and annotations with propagation so you can write local static records; planned sealed types and pattern matching aim to give sealed types enable switch exhaustiveness and tighter API control.
AI-written summary · about
chapters (37)
- 0:00Introduction
- 0:38Disclaimer
- 0:48About me
- 1:46Release model
- 3:42Interpret
- 5:54Type Inference
- 6:55Variable Type
- 7:23Where to use var
- 8:17Finality
- 8:48Switch enhancements
- 9:40More concise expressions
- 11:41Text blocks
- 12:57Indent
- 13:47Compiler
- 14:15Records
- 15:13Class Points
- 15:40Record Points
- 16:44Classes
- 17:02Constructor
- 18:24Record
- 19:24Record Use Cases
- 19:44Record Methods
- 21:33Record Uses
- 24:05C Types
- 24:41Parent Matching
- 25:28Parent Matching Solution
- 28:03Construction Patterns
- 29:15Sync Types
- 29:49Summary
- 32:06How is Devnexus evolving
- 33:37Builders in Devnexus
- 34:24Value Types
- 34:50How Records
- 35:49Record Limitations
- 36:47Local Static Records
- 38:12Cotype
- 39:28Static class
related talks
01h 03mProject Amber: Recent Java Language Features
43mHow Amber is Driving Java’s Evolution
48mUncovering Project Amber: Changes to the Java Language in v10 & Beyond
01h 02mJava Project Amber - Not Just a Rare Fossil
46mWhere is the Java language going?
43mJava Language Futures, Spring 2023 Edition
01h 00mJava Language Futures - All Aboard Project Amber
47mThe SolutionFactory to Java's Problems
