4 ms·
Java started with Records + improved switch expressions to pave the way for Pattern matching, but the feature is far from being done. Deconstruction patterns fo
by DarkNova6 3y ago
Java started with Records + improved switch expressions to pave the way for Pattern matching, but the feature is far from being done. Deconstruction patterns for classes are being worked. In fact, Optional has been brought up as an example in internal discussions time and time again.
The way Pattern matching works right now is just the beginning.