+91-7604012 111 / 110
Google recently announced that it will officially support Kotlin on Android as a “first-class” language and it will be included with Android Studio 3.0 by default.
But, what is Kotlin and what is the reason of gaining admiration to Developers?
Kotlin is basically a statically-typed programming language that runs on the JVM (Java Virtual Machine).
It has been created by JetBrains and officially released early of last year. JetBrains is the company which created IntelliJ IDEA on which Android Studio had been built.
Though Java is the default language for Android development, but,Android doesn’t use the JVM exactly. But the Java roots are strong, and Kotlin’s interoperability with Java have made it a popular choice for developers. That means, existing Java code can be called from Kotlin in a natural way, and Kotlin code can be used from Java rather smoothly as well and this was a large part of Kotlin’s appeal to the Android team.
Google describes Kotlin, as “it is an open sourced project (under the Apache 2.0 license), a brilliantly designed, mature language that we believe will make Android development faster and more fun.” JetBrains and Google are pledging to support the language going forward.
According to company, some have already adopted the programming language for their production apps, including Expedia, Flipboard, Pinterest, and Square.
Words by Kotlin Team
When JetBrains started the journey with kotlin over 6 years ago, their intention was to create such kindof languagethat would be available on multiple platforms and this will always be the case that drive their toolsin line with the same principles, and helped developer with the tedious and mundane tasksfocusing on what’s truly important. And of course, make the process as enjoyable and fun as possible.
Though Jetbrains had no plans of being acquired by any company. They wanted to be an independent tool vendor catering to developers regardless of their platform or language of choice.
Indeed, they want to thank Google and the Android team for their trust in Kotlin, but above all they want to thank the community, the users. Without them Kotlin wouldn’t be where it is today.
Kotlin going to become primarily focused on Android
Primary vision of Kotlin team is to make it a uniform tool for end-to-end development of various applications and connecting multiple platforms with the same language. This includes full-stack web applications, Android and iOS clients, embedded/IoT and much more.Kotlin team will keep supporting and actively developing Kotlin/JVM (server-side, desktop and other types of applications), and Kotlin/JS.
Support and partnership with Google will create a non-profit foundation for Kotlin. Android will likely bring more users to Kotlin, and it is expecting that the community will grow significantly. This means more libraries and tools will be developed in/for Kotlin, and more Kotlin job offers, and learning materials will be published, and so on.
Kotlin - A Great Fit For Developong Applications
Kotlin is a great fit for developing Android applications, bringing all of the advantages of a modern language to the Android platform without introducing any new restrictions:
Kotlin has been successfully adopted by major companies, and a few of them have shared their experiences: Pinterest has successfully introduced Kotlin into their application, used by 150M people every month.
Basecamp's Android app is 100% Kotlin code, and they report a huge difference in programmer happiness and great improvements in work quality and speed.
Keepsafe's App Lock app has also been converted to 100% Kotlin, leading to a 30% decrease in source line count and 10% decrease in method count.