3 ms·
Kotlin uses Java Byte-Code and JetBrains has put in a lot of effort to make it so that any Java you do write can be automatically translated into Kotlin in thei
by SimbaOnSteroids 9y ago
Kotlin uses Java Byte-Code and JetBrains has put in a lot of effort to make it so that any Java you do write can be automatically translated into Kotlin in their IDE's. Idk how well this works because I haven't tried it but apparently it worked well enough for them to try and do it with JavaScript as well which is still in Beta.
- Filligree 9y agoIt works well. The resulting code often won't compile without manual changes on the Java side, but they're simple changes, and it does automate 90-95% of it. I've never yet introduced bugs this way. It doesn't produce idiomatic Kotlin, of course. It's also a nice Rosetta stone while learning Kotlin.