Remix.run Logo
dtech a day ago

Sort of true, but I often hear this take from Java programmers and it feels like "Blub" [1]/Stockholm syndrome to me.

Personally, I'm extremely glad to not have had to write .toStream().map(...).collect(Collectors.list()) or whatever in years for what could be a map. Similar with async code and exception handling.

For me one of the main advantages of Kotlin is that is decreases verbosity so much that the interesting business logic is actually much easier to follow. Even if you disregard all the things it has Java doesn't the syntax is just so much better.

[1] https://paulgraham.com/avg.html

wrathofmonads a day ago | parent [-]

Java 16+

    stream.map(...).toList()
https://bugs.openjdk.org/browse/JDK-8180352
lmm 20 hours ago | parent [-]

So only 2 bullshit boilerplate calls instead of 3? I guess that's progress.