logoalt Hacker News

Sharlin • today at 5:46 PM • 0 replies • view on HN

To be fair, sealed classes were introduced in Java 15 back in 2020. But granted pattern matching is what makes them really useful.