Java Language Futures - Mid 2020 Edition
summary
JDK 15 ships with preview and final language pieces: records as nominal tuples let you declare just the data header and get final fields, accessors, equals/hashCode/toString, plus compact canonical constructors and static nested records; pattern matching for instanceof eliminates repetitive casts and enables deconstruction patterns that pair cleanly with records and future type-aware switch cases; sealed classes (preview) let a type list its permitted subtypes so the compiler can do exhaustiveness checks; these features are previewed and require explicit enablement.
AI-written summary · about
chapters (8)
- 0:00Start
- 4:43Developer Expectations of Java
- 5:38Release Cycle
- 7:59Jdk 15 Was Released
- 21:14Pattern Matching
- 24:48Extensions of Pattern Matching
- 26:01Deconstruction Patterns
- 29:58Technical Questions
related talks
52mJava Language Futures
54mJava Language Futures: Late 2019 Edition
01h 11mModern Java: This is not your father's Java anymore
26mJava Language Futures
43mJava Language Futures, Spring 2023 Edition
54mData Oriented Programming with the JDK 19
39mJava 16 Language Features
24mWhat's New in Java - a Language Perspective!
