Pattern Matching in Java: Subtle Addition or Crucial Feature? - NL

Speaker: Hanno Embregts

Time

14:45 hrs - 15:30 hrs

Location

Room 1.10 - Masterclass is in Dutch - 1e etage

Exhibitor

Info Support

Crucial Feature

Pattern Matching in Java: Subtle Addition or Crucial Feature?

A seemingly subtle addition to Java turns out to be the start of a crucial feature, leading to innovations in switch expressions, deconstruction, and (possibly) serialization.

When the “Pattern Matching for instanceof” feature was added to Java in 2020, it seemed like a somewhat inconspicuous addition to the language. But now, four years later, components related to pattern matching are still being added to Java. This crucial feature has already led to improvements in features like instanceof checks, switch expressions, and deconstruction. In Java 23, the version released last month, primitive data types are now also supported. Additionally, it is expected that serialization will benefit from the possibilities of pattern matching in the future.

Join this session to get fully updated on pattern matching in Java, how you can use it, and what future developments you can expect. Of course, including live coding!

Auto Draft 1