Overview
Explore the evolution and impact of pattern matching in Java through this comprehensive conference talk. Dive into the seemingly small enhancement of "Pattern Matching for instanceof" introduced in Java 14 and discover its far-reaching implications. Uncover how pattern matching serves as a crucial component in Java's broader development strategy, influencing the introduction of switch expressions, records, and sealed types. Learn about various pattern types, including type patterns, deconstruction patterns, and nested patterns, while gaining insights into potential future applications like improved serialization. Engage with live coding examples and grasp the practical effects of these enhancements on Java development. Gain a deeper understanding of Java's ongoing evolution and how pattern matching is shaping its future.
Syllabus
Introduction
Practicalities
Effects
Guarded Patterns
Deconstruction Patterns
Seal Types
Better Serialization
More Ideas
Conclusion
Taught by
Devoxx