Everything about

#pattern‑matching

Incremental Evolution, Pattern Switches vs Visitor Pattern, and Wayland Support - Inside Java Newscast #8#video#java‑17 #project‑panama #modules #pattern‑matching #sealed #patterns
How the six-month release cadence enabled a more incremental evolution of the Java platform and how pattern switches and sealed classes are an alternative to the visitor pattern. Also, maybe Wayland support for Java.
Visitor Pattern Considered Pointless - Use Pattern Switches Instead#post#patterns #pattern‑matching #sealed
In modern Java, the visitor pattern is no longer needed. Using sealed types and switches with pattern matching achieves the same goals with less code and less complexity.
Pattern Matching in Switches and Security Manager Deprecation - Inside Java Newscast #5#video#switch #pattern‑matching
JEP 406, which is a candidate for Java 17, introduced pattern matching in switch statements and expressions, introduces guarded patterns, and improves null handling. Then we need to talk about JEP 411's deprecation of the security manager.
Patterns, switch, and Valhalla's Primitive Classes - JDK News #2#video#java‑next #openjdk #project‑amber #pattern‑matching #project‑valhalla #primitive‑classes
Project Amber brings new patterns and puts them into switch while Project Valhalla takes off and proposes introducing primitive classes
Type Pattern Matching with instanceof#post#java‑16 #java‑basics #pattern‑matching
Type patters with instanceof are Java's first step towards pattern matching. Motivation, syntax, details, and future applications - here's all you need to know.
Pattern Matching in Java#post#java‑basics #pattern‑matching
Java takes its first steps towards pattern matching but the topic is much larger than instanceof. Goals, terminology, flow scoping - these apply to all kinds of patterns.
Pattern Matching Quartet - JDK News #1#video#java‑next #project‑amber #pattern‑matching
A summary of four recent discussions about pattern matching on the Project Amber mailing lists
What Future Java Might Look Like#post#java‑next #project‑valhalla #generics #pattern‑matching #primitive‑classes
Java's future is full of cool advances: data classes, value types, generics over primitives, pattern matching, etc. Let's peek into Java's future!