News for hackers. Stuff that matters.
Re:Java 21: No more public static void main by Aaron2222 on Monday June 05, 2023 @05:44PM (#36204281)
Kotlin has a bunch of scope functions[0]. `a.also(f)` takes a function `f`, calls `f(a)`, and returns `a`.

[0]: https://kotlinlang.org/docs/scope-functions.html

There are no comments on this comment yet.