4 ms·
Has it really? (Totally honest question, I don't follow that space well.) If Some Random Company is starting a new Android app today, is it more likely to be in
by glhaynes 5y ago
Has it really? (Totally honest question, I don't follow that space well.) If Some Random Company is starting a new Android app today, is it more likely to be in Kotlin than Java? That's cool, if so.
- binkHN 5y agoYep! Been this way for a little while now. More detail at https://developer.android.com/kotlin/first https://developer.android.com/kotlin/first...
- blibble 5y agoas someone who's been writing Java for Android since 1.0 (but not much recently) my main pain point with it was more the API rather than Java (e.g. the activity lifecycle, the 20 layers of compatibility stuff, contexts everywhere) did this clear some of that up?
- binkHN 5y agoNot really. It just another language, but, IMHO, threads have gotten A LOT better through Kotlin’s Coroutines. That said, the libraries have gotten a lot better and the new UI toolkit, Compose, addresses a lot of shortcomings, but it’s still early.
- ptx 5y agoKotlin has a lot of features aimed at mitigating the pain of working with Java APIs, such as extension functions. So you can sort of fix the API in a library or in your own code. (But it doesn't help with the lifecycle or reducing the number of layers.)