News for hackers. Stuff that matters.
Re:Java record pattern matching in JDK 19 by kaba0 on Saturday May 14, 2022 @03:02PM (#31381211)
I think Kotlin went the easy way with extension methods. Scala’s solution is much more elegant with implicits (especially now with Scala 3).
Re:Java record pattern matching in JDK 19 by SemanticStrengh on Saturday May 14, 2022 @03:07PM (#31381263)
I'd be very interested in a comparison between scala 3 using/given and Kotlin new context receivers https://github.com/Kotlin/KEEP/blob/master/proposals/context...