Targeted at both novice and seasoned programmers, this book presents programming concepts in manageable "atoms" for better understanding. It features exercises with hints and solutions integrated into IntelliJ IDEA, enhancing the learning experience. Co-authored by a member of the Kotlin language team and the author of acclaimed programming books, it offers a structured approach to mastering Kotlin.
"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 efficient compiler and a small standard library, Kotlin imposes virtually no runtime overhead. 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. What's inside: Functional programming on the JVM; writing clean and idiomatic code; combining Kotlin and Java; domain-specific languages. This book is for experienced Java developers'--Back cover
Kotlin — это новый язык программирования, ориентированный на платформу Java. Он предлагает выразительность и безопасность, не жертвуя простотой, бесшовную совместимость с существующим кодом на Java и отличную поддержку инструментов. Поскольку Kotlin генерирует обычный байт-код Java и работает с существующими библиотеками и фреймворками Java, его можно использовать почти везде, где сегодня используется Java — для серверной разработки, приложений для Android и многого другого. Книга "Kotlin в действии" проводит опытных разработчиков Java от основ языка до создания приложений, работающих на JVM и устройствах Android. Написанная основными разработчиками Kotlin, эта насыщенная примерами книга начинается с обучения базовому синтаксису языка Kotlin. Затем вы узнаете, как использовать функции, которые позволяют создавать переиспользуемые абстракции, функции более высокого уровня, библиотеки и даже целые специфические для домена языки. Наконец, вы сосредоточитесь на деталях применения Kotlin в реальных проектах, таких как интеграция с системами сборки, поддержка Android и параллельное программирование.