An Introduction to Kotlin for Android Development

281

Kotlin is a statically typed programming language from JetBrains. It is fully ‘inter-operable’ with Java (meaning you can use Java frameworks and even mix commands from both in your code) and comes with no limitations. Android developers have actually been using Kotlin for some time already via a plugin and some popular apps on the Play Store (like Basecamp) were reportedly built solely using Kotlin. Now though, as of the forthcoming Android Studio 3.0, it will be bundled-in and supported out-of-the-box.

Kotlin allows us to remove significant amounts of boilerplate

So why would you choose to use Kotlin rather than Java? Well the main reason is that it can make your life a little easier in a number of instances. Kotlin eliminates null references for example and it doesn’t have checked exceptions

Read more at Flipboard