Java 21 Pattern Matching Tutorial #RoadTo21
Java 21 is the first Java release with all essential pattern matching features finalized: sealed types and type patterns in an improved switch; also final (and very helpful) are records and record patterns. We'll explore how these language features come together to allow pattern matching, what that means for Java developers, and how we can push these features further to implement a new (to Java) programming paradigm: data-oriented programming. #RoadTo21 playlist: • Road to 21 ~~~ Chapters ~~~ 0:00 Intro 1:31 Language Features extended instanceof: https://openjdk.org/jeps/394 switch expression: https://openjdk.org/jeps/361 patterns in switch: https://openjdk.org/jeps/441 sealed types: https://openjdk.org/jeps/409 & • Sealed Classes - JEP Café #2 9:09 Pattern Matching 13:41 Data-oriented Programming records: https://openjdk.org/jeps/395 record patterns: https://openjdk.org/jeps/440 data-oriented programming: https://www.infoq.com/articles/data-o... & • Data-Oriented Programming - Inside Java Ne... unnamed patterns: https://openjdk.org/jeps/443 22:19 Outro Tags: #Java #Java21 #Design #CleanCode #OpenJDK

Java 21 API New Features #RoadTo21

Java 21 new feature: Virtual Threads #RoadTo21

Valhalla - Java's Epic Refactor

Are Virtual Threads Going to Make Reactive Programming Irrelevant?

Pattern Matching in Java: Better Code, Better APIs

Better Java Streams with Gatherers - JEP Cafe #23

Ranking Java Features Added from Versions 8 to 21!

Clean Code with Records, Sealed Classes and Pattern Matching by José Paumard

Choosing between ArrayList and LinkedList - JEP Cafe #20

The New Java Best Practices by Stephen Colebourne

Data Oriented Programming in Java 21 by Nicolai Parlog

Java 21: Focus on Virtual Threads and Pattern Matching

Java 21 New Feature: Sequenced Collections - JEP Cafe #19

Java 8 to 18: Most important changes in the Java Platform

Co-Creator of Haskell: Useless vs Useful Languages, Rust vs C, Functional Programming | Simon Jones

Tips for C Programming

Records In Java - Full Tutorial - The Best New Java Feature You're Not Using

Optimizing your equals() methods with Pattern Matching - JEP Cafe #21

Pattern Matching in Java by Venkat Subramaniam

