Kotlin in Action guides experienced Java developers from the language basics of Kotlin all the way through building applications to run on the JVM and Android devices. Foreword by Andrey Breslav, Lead Designer of Kotlin.
About the Technology
Developers want to get work done - and the less hassle, the better. Coding with Kotlin means less hassle. The Kotlin programming language offers an expressive syntax, a strong intuitive type system, and great tooling support along with seamless interoperability with existing Java code, libraries, and frameworks. Kotlin can be compiled to Java bytecode, so you can use it everywhere Java is used, including Android. And with an effi cient compiler and a small standard library, Kotlin imposes virtually no runtime overhead.
About the Book
Kotlin in Action teaches you to use the Kotlin language for production-quality applications. Written for experienced Java developers, this example-rich book goes further than most language books, covering interesting topics like building DSLs with natural language syntax. The authors are core Kotlin developers, so you can trust that even the gnarly details are dead accurate.
- Functional programming on the JVM
- Writing clean and idiomatic code
- Combining Kotlin and Java
- Domain-specific languages
About the Reader
This book is for experienced Java developers.
About the Author
Dmitry Jemerov and Svetlana Isakova are core Kotlin developers at JetBrains.
Table of Contents
Part 1 Introducing Kotlin
Chapter 1 Kotlin: What And Why
Chapter 2 Kotlin Basics
Chapter 3 Defining And Calling Functions
Chapter 4 Classes, Objects, And Interfaces
Chapter 5 Programming With Lambdas
Chapter 6 The Kotlin Type System
Part 2 Embracing Kotlin
Chapter 7 Operator Overloading And Other Conventions
Chapter 8 Higher-Order Functions: Lambdas As Parameters And Return Values
Chapter 9 Generics
Chapter 10 Annotations And Reflection
Chapter 11 Dsl Construction
Appendix A Building Kotlin projects
Appendix B Documenting Kotlin code
Appendix C The Kotlin ecosystem