Expert guidance and amazing examples from core Kotlin's developers! It's everything you need to get up and running fast.

In Kotlin in Action, Second Edition you will learn:

  • Kotlin statements and functions, and classes and types
  • Functional programming on the JVM
  • The Kotlin standard library and out-of-the-box features
  • Writing clean and idiomatic code
  • Combining Kotlin and Java
  • Improve code reliability with Null safety
  • Domain-specific languages
  • Kotlin concurrency
  • Mastering the kotlinx.coroutines library

Kotlin in Action, Second Edition is a complete guide to the Kotlin language written especially for readers familiar with Java or another OO language. In it, core Kotlin language developers share their unique insights, along with practical techniques and hands-on examples. You'll quickly progress from language basics to building production-quality applications that take advantage of Kotlin's unique features. This new second edition is fully updated to include the latest innovations, and it adds new chapters dedicated to coroutines and concurrency.

About the technology:

Coding with Kotlin means less hassle and more productivity. This JVM-based language offers an expressive syntax, a strong intuitive type system, and great tooling support; plus seamless interoperability with existing Java code, libraries, and frameworks. Kotlin is general purpose, safe, pragmatic, and the premier language of Android development. While the language has grown beyond its initial Java-centric focus, you can still use and integrate with your favorite Java tools and libraries, including Spring.