YoVDO

The Art of Java Language Pattern Matching

Offered By: Devoxx via YouTube

Tags

Devoxx Courses Java Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the advanced features of pattern matching in Java through this 42-minute Devoxx conference talk. Dive into the project Amber initiative within OpenJDK, which focuses on introducing productivity-oriented language features. Learn about the implementation of pattern matching in recent Java versions, including instanceof, switch expressions, and record patterns. Understand the fundamentals of pattern matching, its various types, and how it combines application code logic to test expressions and extract state components. Discover the power of switch expressions, flow scoping for binding variables, guarded patterns, and pattern dominance. Examine how pattern matching interacts with Java inheritance, records, and local variable type inference. Get insights into future developments like array patterns. By the end of this talk, gain the knowledge to effectively utilize these powerful new language features in your Java projects.

Syllabus

Intro
Pattern Matching Fundamentals
Pattern Types
Switch Expressions
Switch Expression (JDK 12)
Java Inheritance
Using The instanceof Operator
Pattern Matching For instanceof (JDK 14)
Flow Scoping For Binding Variables
Pattern Matching for switch (Completeness)
Guarded Patterns (JDK 18)
Pattern Dominance
Pattern Matching instanceof And Records
Patterns Are Composable
Patterns And Local Variable Type Inference
Using The Any Pattern Match
Pattern Matching For Arrays


Taught by

Devoxx

Related Courses

Play by Play: Developing Microservices and Mobile Apps with JHipster
Pluralsight
Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube
Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube
Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube
The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube