Overview
Explore the essential pattern matching features finalized in Java 21, including sealed types, type patterns in improved switch statements, records, and record patterns. Dive into how these language features combine to enable pattern matching and understand their significance for Java developers. Learn about the extended instanceof, switch expressions, patterns in switch, and sealed types. Discover the concept of data-oriented programming and how it can be implemented using Java 21's new features. Gain insights into unnamed patterns and their potential applications. Follow along with code examples and explanations to grasp these new programming paradigms and how they can enhance your Java development skills.
Syllabus
Intro
Language Features
Pattern Matching
Data-oriented Programming
Outro
Taught by
Java