4 ms·
Kotlin once compiled is (for practical purposes) indistinguishable from Java. Even if new APIs will be Kotlin only (Jetpack Compose), you can write new Kotlin c
by pennaMan 7y ago
Kotlin once compiled is (for practical purposes) indistinguishable from Java. Even if new APIs will be Kotlin only (Jetpack Compose), you can write new Kotlin code alongside your legacy Java with no issues.
- georgeecollins 7y agoOK I get that it becomes the same byte code but I fear whatever conversions and updates are necessary. Probably irrational.
- pjmlp 7y agoNot really, because Kotlin uses concepts that aren't exposed in Java the same way, let alone the clunky J++ used by Android. For example extension methods or suspend functions. Hence why there is a guide on how to write Java friendly APIs from Kotlin. Jetpack Compose is an interesting story, looks like it sprung into existence as response to Flutter, without any concrete ideas on how tooling should look like and total disregard for the ongoing efforts to sell constraint and motion layout editing on the graphical tooling to android devs still using the old layouts. Having watched all SwiftUI tooling related talks, and from experience how Android Studio has evolved, I don't have great hopes that by Google IO 2020 we will see demos at the same level as WWDC 2019 SwiftUI ones.