One of the features that I am really excited about is pattern matching in Java. Pattern matching is a powerful feature in languages like Scala and Kotlin. You have an input token that’s matched against patterns. switch-case statement comes close, […]