Cruising Along with Java: Benefiting from the Modern Features
summary
Covers concrete Java changes since 10: local variable type inference (var) and its pitfalls (don’t use with diamond, needs context), text blocks for multi-line strings, and records as immutable data classes with getters, equals, hashCode and concise construction; recommends compact constructor over canonical for validation/transformation. Explains sealed interfaces/classes with permits and using non-sealed only for testing (keep nonpublic), and shows sealed + records + pattern matching with switch expressions, yield, destructuring, and compiler completeness checks.
AI-written summary · about
chapters (7)
- 0:00Modern Java features
- 2:50Java release cycles
- 9:27Type inference
- 48:44Text blocks
- 1:00:36Records
- 1:42:08Sealed classes
- 2:08:37Pattern matching
related talks
32mGetting the Most from Modern Java
55mA Few New Cool Features in Modern Java
01h 11mModern Java: This is not your father's Java anymore
56mPreparing for the Java Cert and Learning New Features (Part 2)
01h 02mThe Amazing Features of Modern Java
38mModern Java: Beyond Version 8
01h 00mLatest Java Best Practices
01h 08mClean Application Development with Records, Sealed Classes and Pattern Matching
