Join Chiu-Ki Chan for an in-depth discussion in this video Why Kotlin?, part of Creating Your First Android App with Kotlin.
- [Instructor] Traditionally, Android apps are written in Java. Recently, Google has announced official support for Kotlin, a modern programming language that is compatible with Java. Why choose Kotlin? It's a really great programming language. Compared to Java, it is much more concise and it has a stronger null safety, meaning that you can catch potential crashes much earlier in your development cycle. For me, Kotlin has been amazing because it has a lot of built-in functionalities that you would have to implement yourself in Java.
Very often I can replace 10 lines of Java code with a single line in Kotlin, making development faster and less error-prone. The Android community has been very excited about Kotlin for a few years, and now, with the official commitment from Google people are moving from Java to Kotlin to write Android apps. I believe that Android will move quickly to Kotlin. So, if this is your first time writing an Android app, Kotlin is the way to go.
All right, let's get started.