4 ms·
> Kotlin provides modern features in the Android development Java land stuck on the ancient Java 6. These days you can use Java 8 features with no issues, and
by wasyl 3y ago
> Kotlin provides modern features in the Android development Java land stuck on the ancient Java 6.
These days you can use Java 8 features with no issues, and Kotlin isn't really solving the fundamental problem of runtime version on target devices — it's just spitting out Java 8 bytecode by default. Android build system already _desugars_ newer Java language features for older runtimes, and they could do the same thing for all the new fancy features. I guess they choose not to because Kotlin is already there.
That said, I do believe Kotlin is still more concise, has better nullability handling, and upcoming exciting features of its own like compiler plugins