JDK 19 Record Patterns: Applying Patterns from Spark’s Scala Optimizer in Java
A tutorial on how to use Java’s new Record Patterns feature to write powerful, concise pattern matching code for usecases like AST transformations and rewrite-rules in compiler passes.
Read more »