Kotlin - A better Java for Android
Submitted by Vagmi Mudumbai (@vagmi) on Tuesday, 13 October 2015
Core Development - Full talk (45 minutes)
Kotlin is a modern statically typed language that supports type inference, lambdas, traits, singletons, optional types for null safety and many more features that are far better than what Java offers. You will be able to appreciate Kotlin and how you can use Kotlin to build an Android application.
Kotlin is a language targeting the JVM built by JetBrains. Android Studio is built on IntelliJ IDEA which is also built by JetBrains. Kotlin is often compared to Swift and adds a lot of the features that Java misses. Kotlin runtime is quite small and the overhead is quite small and is completely worth the additional size.
This is a quick outline of the session.
- A quick overview of Kotlin syntax
- Basic types
- Control flows
- Classes and Objects
- Extending Classes
- Setup Kotlin with a Android project on Android Studio
- Building a simple app with Kotlin, RxJava, Retrofit and Realm