1 Kotlin: What and why

This chapter covers

  • A basic demonstration of Kotlin
  • The main traits of the Kotlin language
  • Possibilities for server-side and Android development
  • A glimpse into Kotlin Multiplatform
  • What distinguishes Kotlin from other languages
  • Writing and running code in Kotlin

Kotlin is a modern programming language on the Java virtual machine (JVM) and beyond. It’s a general-purpose, concise, safe, and pragmatic language. Independent programmers, small software shops, and large enterprises all have embraced Kotlin: millions of developers are now using it to write mobile apps, build server-side applications, and create desktop software, among several other applications.

Kotlin started as a “better Java”—a language with improved developer ...

Get Kotlin in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.