3 ms·
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 hav
by dtech 1y 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 https://paulgraham.com/avg.html
- wrathofmonads 1y agoJava 16+ stream.map(...).toList() https://bugs.openjdk.org/browse/JDK-8180352 https://bugs.openjdk.org/browse/JDK-8180352
- lmm 1y agoSo only 2 bullshit boilerplate calls instead of 3? I guess that's progress.