It's exploding in use now that it's officially supported by Google for Android programming. It also forces Java best practices by default, which leads to cleaner code. I don't ever want to go back to Java after becoming familiar with Kotlin.
Yeah, Google's policy seems to be "throw everything at the wall and hope something sticks, and occasionally just throw stuff away that people like." Kotlin is developed by JetBrains though and has been around for 7 years already, and they have a strong interest in keeping it around now that it has first-class support on Android. It's even got coroutines now, which are extremely useful in reducing callback hell on Android.
There are a ton of major Android apps and developers that have been using Kotlin in their codebase for years (since they can safely mix Kotlin and Java without having to rewrite any of their codebase), and lots of major libraries are adding Kotlin extensions to their code since it makes writing code so much easier and more concise.
Android is really the driving force behind why it's catching on. At first I was a bit angry because I had spent so much time learning android dev in java, but kotlin seems easy enough to transition to and seems to keep the same structures
It's definitely worth it. You don't even have to completely redesign your codebase. Just start writing new code in Kotlin. You can keep using all your old code in Kotlin, and you get extremely useful protection against nulls. Basically, you'll never have to write a null check ever again. That alone makes it worth the switch.
Check out this article that explains pretty concisely why the switch is worth it. Kotlin is essentially everything good about Java without the boilerplate and backwards-compatibility limitations.
58
u/mpa92643 Jul 20 '18
It's exploding in use now that it's officially supported by Google for Android programming. It also forces Java best practices by default, which leads to cleaner code. I don't ever want to go back to Java after becoming familiar with Kotlin.