Kotlin in Action, 1 edition
Download Kotlin in Action, 1 edition
Download .PDF eBook
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
1. Kotlin: what and why
2. Kotlin basics
3. Defining and calling functions
4. Classes, objects, and interfaces
5. Programming with lambdas
6. The Kotlin type system
PART 2 EMBRACING KOTLIN
7. Operator overloading and other conventions
8. Higher-order functions: lambdas as parameters and return values
10. Annotations and reflection
11. DSL construction