The Road Not Taken? — Kotlin or Java

Stacey Wong
2 min readMar 16, 2018

--

Photo by Jon Tyson on Unsplash

The first one-million dollar question that comes to every Android developers while starting a new project would be

To be or not to be? Kotlin or not Kotlin?

There are tons of articles out there for the reasons of picking up Kotlin. Here is one of it.

Personally, I would prefer to have Kotlin.

WHY?

Kotlin is interchangeable with Java, cleaner, more readable and “null- safety” feature of Kotlin helps developer to think thoroughly before hitting NPE (Null Pointer Exception).

Furthermore, Android announced to support Kotlin since May 2017!

We can also see the effort of Android team on improving Kotlin Development in Android Studio!

Not only that, Android team has actually used Kotlin while announcing new features in their latest video!

Kotlin tutorials can be found easily online!

Since Kotlin is interchangeable with Java, developers can continue to proceed with Java anytime.

P/S: * Developer can make a decision based on project timeline, familiarity to the language, further technical supports from third party (eg: client SDK)

Happy exploring!

--

--