DEV Community

Discussion on: Why use Kotlin for Android development? Kotlin benefits, features, versions

Collapse
 
savnisharma1 profile image
savnisharma

If you are starting with Android, definitely go with Java as you will be able to find much more information about Android development in Java which will be extremely important in the starting phase.

Later, you can switch to Kotlin or stay with Java as per your preference.

Kotlin is just another language for JVM (Java Virtual Machine) and knowing Java will help you to grasp Kotlin faster as a lot of information is available in form of comparation between Kotlin and Java.

As you will become skilled in both languages, you can find solution in Kotlin or Java and you will be easily able to transform it to the language you are actually using.

And do not worry about Google replacing Java. Kotlin is just a language and needs Java VM to work and the heart of Android is defacto Java VM, so Kotlin is not a new language for Android - it’s just an another option how to write code that will be then compiled to Java byte code, so both Java and Kotlin will co-exists together. For Kotlin, this kind of co-existence is extremely important because Java’s ecosystem is mature, stable and provides way more libraries than is available for any other language. And this gives Kotlin a huge advantage over new programming languages written from scratch.

Spring Framework Online Course