Kotlin is base on java?


#1

hi every body, please i need a clear answer about subject that is kotlin is based on java, it is true?, and why? thank you very much


#2

Kotlin isn’t based on Java, to me it’s more inspired by Scala. It runs on the JVM and is interoperable with Java though.

Kotlin is the language you use when you want to avoid Java.


#3

Not quite correct. Kotlin is positioning itself as a better Java. In fact you can quite successfully run a project containing Java, Kotlin and Groovy code (maybe Scala too, but I have not tried).
On the other hand, once started using Kotlin it is very tempting to move completely to Kotlin.