News for hackers. Stuff that matters.
Re:Java's records, Lombok's data, and Kotlin's data classes by lmm on Friday May 07, 2021 @10:05PM (#27082987)
Off the top of my head: Extension methods. "with" contexts. Scope functions (by letting you write your own). Many of the things done with kapt (e.g. typeclasses, not that there's a good way to do them in Kotlin). Spring-style autowiring (not part of Kotlin proper, but seemingly the idiomatic way to use it). The magic last parameter lambda syntax thing (by letting you implement the magnet pattern).

There are no comments on this comment yet.