kotlin-vs-java
kotlin-vs-java copied to clipboard
Coroutines
How about some coroutines? I don't think there's any other feature that makes Kotlin win by such a large margin as replacing a bunch of unwieldy, nested callbacks with clean sequential code. Granted, it's not a one-liner example, but that is the problem with this kind of comparisons, the micro-scale differences in single-expression syntax aren't the things that make or break a language.