modern java
records, sealed types, pattern matching. java from 8 to 27 and how it writes now.
- 01java 8 → 27every release, what it shipped, and the six-month train.
- 02preview and incubator features--enable-preview, and how features graduate.
- 03recordsjava 16+data carriers in one line. what the compiler generates for you.
- 04sealed typesjava 17+closed hierarchies the compiler can check exhaustively.
- 05pattern matchingjava 21+instanceof patterns, switch patterns, guards and dominance.
- 06record patternsjava 21+destructure records, nested, right in the pattern. plus _.
- 07data-oriented programmingrecords + sealed + patterns = algebraic data types in java.
- 08simpler programsjava 25+compact source files, instance main, and import module.
- 09flexible constructor bodiesjava 25+statements before super(), finally.
- 10what's in preview right nowpreviewprimitive patterns, lazy constants, structured concurrency in jdk 27.