This chapter covers:
- A basic demonstration of Kotlin
- The main traits of the Kotlin language
- Possibilities for server-side and Android development
- What distinguishes Kotlin from other languages
- Writing and running code in Kotlin
What is Kotlin all about? It’s a modern programming language on the JVM and beyond. Kotlin is concise, safe, pragmatic, and provides full interoperability with Java code. Independent programmers, small software shops, and large enterprises all have embraced Kotlin: Millions of developers are now using it to build server-side applications, write Android apps, build desktop software, and more. Its use already spans many industries, whether it’s banking, education, video streaming or automotive, to name just a few. Kotlin enjoys an excellent ecosystem of libraries on the JVM, and code written in Kotlin runs as fast as you would expect from a modern programming language.
Over 200 universities worldwide include Kotlin as part of their curriculum in some capacity. Some of these universities even use the language to teach fundamental programming concepts to their students, including beginners who have never programmed before.
In this chapter, we’ll take a detailed look at Kotlin’s main traits.