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.
about the book
Kotlin in Action, Second Edition teaches you Kotlin techniques you can use for almost any type of application, from enterprise services to Android apps. The authors are all members of the Kotlin team, so you can trust that even the gnarly details are dead accurate. You’ll start with Kotlin fundamentals, learning how the language handles everything from statements and functions to classes and types, and about its unique features that make Kotlin programming so seamless.
Author(s): Svetlana Isakova, Roman Elizarov, Sebastian Aigner, Dmitry Jemerov
Edition: 2
Publisher: Manning Publications
Year: 2023
Language: English
Pages: 415
MEAP_VERSION_9
Welcome
1_Kotlin:_what_and_why
2_Kotlin_basics
3_Defining_and_calling_functions
4_Classes,_objects,_and_interfaces
5_Programming_with_lambdas
6_Working_with_collections_and_sequences
7_Working_with_nullable_values
8_Basic_types,_collections,_and_arrays
9_Operator_overloading_and_other_conventions
10_Higher-order_functions:_lambdas_as_parameters_and_return_values
Appendix_A._Building_Kotlin_projects
Appendix_B._Documenting_Kotlin_code