Harsh Shandilya

Android developer, Kotlin fanatic and wannabe Rustacean

#TeachingKotlin - Kotlin for Android Java developers

Posted at — Sep 20, 2019

Anybody familiar with my work knows that I am a fan of the Kotlin programming language, especially it’s interoperability with Java with respect to Android. I’ll admit, I’ve not been a fan since day one. The abundant lambdas worried me and everything being that much shorter to implement was confusing to a person whose first real programming task was in the Java programming language.

As I leaped over the initial hurdle of hesitation and really got into Kotlin, I was mindblown. Everything is so much better! Being able to break away from Java’s explicit verbosity into letting the language do things for you is a bit daunting at first but over time you’ll come to appreciate the time you save and in turn how many potential problems you can avoid by simply not having to do everything yourself. Can’t have bugs if you don’t write code :p

As I’ve gotten more and more into the Kotlin ecosystem and community and converted developers into adopting Kotlin, into taking that first step, I’ve realised most of them have a common set of concerns and often a lack of knowledge about what Kotlin actually brings to the table and what are the drawbacks of using a “new” language over an established behemoth like Java.

Hence I’ve decided to publish a series of posts outlining exactly that – What to expect when moving to Kotlin from Java, the benefits and the common pitfalls as well as current limitations that may or may not hinder said move. The first post of the series will go up on the upcoming Monday evening 6:00 PM IST (Indian Standard Time), and all following ones will be published at the same time every week. I’d like to keep this up for as long as possible and so I’m not declaring this as a n-part series right off the bat. We’ll figure it out as we go :)