News for hackers. Stuff that matters.
Re:From zero to 10M lines of Kotlin by foobarian on Tuesday October 25, 2022 @10:14AM (#33330718)
I don't find coroutines that helpful, but the syntax sugar and standard library in Kotlin is pretty awesome. The Elvis operator alone is worth the switch. Say you have some container with 3 levels of nesting. In Java, you have to null-check every level vs. 3 "?." dereferences.

In theory this is possible to approach with annotations but I found it hard to keep up in a large codebase.

Re:From zero to 10M lines of Kotlin by gosukiwi on Tuesday October 25, 2022 @10:40AM (#33331065)
If you need 3 levels of null-checks that's a red flag though