Nieuws

Java 16 introduced basic pattern matching with the finalized instanceof method. For more advanced features, like pattern matching in switch, record patterns, and guarded cases, you need Java 21+.
The new pattern matching statements would give Python programmers more expressive ways of handling structured data, without having to resort to workarounds.