From the course: Kotlin for Android: Best Practices

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Kotlin language features

Kotlin language features - Kotlin Tutorial

From the course: Kotlin for Android: Best Practices

Start my 1-month free trial

Kotlin language features

- [Instructor] Kotlin is a great programming language. Compared to Java it is much more concise and has a much stronger null safety, meaning that you can catch potential crashes much earlier in your development cycle. It is interoperable with Java. You can keep part of your app in Java, migrating to Kotlin at your own pace. On top of that, you can do functional programming in Kotlin, which often makes your code much more concise and much more readable. Kotlin has great tooling. Besides Android Studio, I often use the Kotlin Playground to experiement with different Kotlin features. It runs in the browser and it is much faster than compiling an app, then deploying it to a device. On the Kotlin Playground, you can type in the code and then press Run to see the result right away.

Contents