4 ms·
>I believe pattern matching might land in Java sooner than in Kotlin Depends on what you call pattern matching. Kotlin had pattern matching from day one, but i
by asdfthvaa2 6y ago
>I believe pattern matching might land in Java sooner than in Kotlin
Depends on what you call pattern matching. Kotlin had pattern matching from day one, but it's just one level, Java might have it recursive by java 19
- hocuspocus 6y agoCalling Kotlin's when pattern matching is a stretch. Even the official documentation doesn't call it like that anywhere.
- asdfthvaa2 6y agoWell, fr sealed classes it's quite good, but yeah, nothing like the scalas and haskells of this life