javaBin Online: Pattern Matching & Sealed Classes: Best Features of OpenJDK 17?


Details
Welcome to the second javaBin meetup in the Foojay Virtual OpenJDK 17+ JUG Tour! This time our guest is Deepu Sasidharan, co-lead of JHipster and creator of KDash. This meetup will look more into Java 17's pattern matching and sealed classes.
All javaBin Online sessions are streamed over YouTube, so you can enjoy them from the comfort of your home office. Before we start, we'll mail the YouTube link to all attendees, and we'll also post in the comments for this Meetup. In addition, we'll set up https://www.java.no/online to redirect directly to Youtube.
AGENDA
- 18:00: Welcome from javaBin
- 18:05: "Pattern Matching & Sealed Classes: Best Features of OpenJDK 17?" by Deepu Sasidharan
- 18.45: Q&A
TALK ABSTRACT:
Let's have a quick rundown of the two most exciting features landing in OpenJDK 17!
Pattern matching in Java is almost complete now. OpenJDK 16 added support for pattern matching in the instanceof operator and now this can be used in switch cases to perform idiomatic pattern matching, as in many other modern languages.
Let's see all the possibilities with it first and then we will look at the new Sealed classes and interfaces that let you restrict inheritance and learn how they can be useful in pattern matching.
SPEAKER BIO:
Deepu K Sasidharan is a Software Engineer by passion & profession. He is the co-lead of JHipster and the creator of KDash. He is a polyglot programmer working with Java, JavaScript, Go, Rust, and so on. He is also a cloud technology advocate and an open-source software aficionado. He is a technology advocate by passion. He has authored books on JHipster and writes frequently about Java, JavaScript, Go, Rust, DevOps, Linux, and so on, on his blog. He works as a Developer Advocate for Adyen.

javaBin Online: Pattern Matching & Sealed Classes: Best Features of OpenJDK 17?