News for hackers. Stuff that matters.
Re:Kotlin 1.4 by asdfthvaa2 on Tuesday August 18, 2020 @08:00AM (#24197615)
>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

Re:Kotlin 1.4 by hocuspocus on Tuesday August 18, 2020 @08:48AM (#24197963)
Calling Kotlin's when pattern matching is a stretch. Even the official documentation doesn't call it like that anywhere.
Re:Kotlin 1.4 by asdfthvaa2 on Wednesday August 19, 2020 @11:14AM (#24211193)
Well, fr sealed classes it's quite good, but yeah, nothing like the scalas and haskells of this life