80 likes | 166 Views
Kotlin is a statically typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript source code or use the LLVM compiler infrastructure
E N D
KOTLIN Contact us 7084 185 185 www.webganges.com
What is Kotlin? Kotlin is a general purpose, open source, statically typed “pragmatic” programming language for the JVM and Android that combines object-oriented and functional programming features. It is focused on interoperability, safety, clarity, and tooling support. Versions of Kotlin for JavaScript (ECMAScript 5.1) and native code (using LLVM) are in the works. Kotlin originated at JetBrains, the company behind IntelliJ IDEA, in 2010 and has been open source since 2012. The Kotlin team currently has more than 20 full-time members from JetBrains, and the Kotlin project on GitHub has about 100 contributors. JetBrainsuses Kotlin in many of its products including its flagship IntelliJ IDEA.
Why Kotlin? • Concise • Drastically reduce the amount of boilerplate code. • Safe • Avoid entire classes of errors such as null pointer exceptions. • Interoperable • Leverage existing libraries for the JVM, Android, and the browser. • Tool-friendly • Choose any Java IDE or build from the command line.
Why you should use Kotlin for Android development Java is the most widely used language for Android development, but that doesn’t mean it is always the best choice. Java is old, verbose, error-prone, and has been slow to modernize. Kotlin is a worthy alternative. OpenJDK developers are starting to bridge the gap with Java 8, but Android doesn’t use all the features of Java 8. Developers are still stuck in the old Java 7 and 6 worlds, and that's not going to improve much in the foreseeable future. That's where Kotlin comes in: This relatively new open source language, based on the Java Virtual Machine (JVM), is gaining traction with Android software engineers. There are other JVM languages you could try to use on Android, but Kotlin offers integrations with Android Studio, Google's primary IDE for Android, that no language, has, other than Java.