Wird geladen...
Details zum E-Book
Einloggen wenn Sie am Inhalt des Artikels interessiert sind.
Kotlin for Java Developers. Confidently transition from Java to Kotlin through hands-on examples and idiomatic Kotlin practices
José Dimas Luján Castillo, Ron Veen
Wird geladen...
E-BOOK
Wird geladen...
This book is a hands-on programming guide for Java developers who want to gain practical, production-ready knowledge of Kotlin. Whether you’re maintaining Java systems or adopting Kotlin for Android, backend, or cross-platform projects, it will help you bridge the gap by building on your existing understanding of Java’s syntax and design principles.
You’ll begin by learning why Kotlin was created and how it improves on Java – exploring types, expressions, control flow, and null handling while mapping each concept to familiar Java constructs. Each topic is introduced with clear purpose, showing how Kotlin’s concise syntax, safety features, and expressive APIs lead to cleaner, more maintainable code.
As you progress, you’ll master object-oriented and functional programming, extension functions, smart casting, and interoperability with Java. The second half of the book dives into generics, data and sealed classes, coroutines for concurrency, and DSL design – demonstrating when and why to use these features to build scalable, elegant solutions.
By the end, you’ll not only write idiomatic Kotlin but also understand the reasoning behind its design, enabling you to craft modern, reliable applications with confidence.
You’ll begin by learning why Kotlin was created and how it improves on Java – exploring types, expressions, control flow, and null handling while mapping each concept to familiar Java constructs. Each topic is introduced with clear purpose, showing how Kotlin’s concise syntax, safety features, and expressive APIs lead to cleaner, more maintainable code.
As you progress, you’ll master object-oriented and functional programming, extension functions, smart casting, and interoperability with Java. The second half of the book dives into generics, data and sealed classes, coroutines for concurrency, and DSL design – demonstrating when and why to use these features to build scalable, elegant solutions.
By the end, you’ll not only write idiomatic Kotlin but also understand the reasoning behind its design, enabling you to craft modern, reliable applications with confidence.
- 1. An Introduction to Kotlin and Its Basic Types
- 2. Interoperability, Gradle, and Maven
- 3. Null and Non-Nullable Types
- 4. Extension Functions and the Apply Function
- 5. Object-Oriented Programming Basics
- 6. Generics and Variance
- 7. Data and Sealed Classes
- 8. Basics of Functional Programming
- 9. Lambda
- 10. Collections and Sequences
- 11. Coroutines
- 12. Synchronous and Asynchronous Programming
- 13. Kotlin Testing
- 14. Domain-Specific Languages in Kotlin
- Titel:Kotlin for Java Developers. Confidently transition from Java to Kotlin through hands-on examples and idiomatic Kotlin practices
- Autor:José Dimas Luján Castillo, Ron Veen
- Originaler Titel:Kotlin for Java Developers. Confidently transition from Java to Kotlin through hands-on examples and idiomatic Kotlin practices
- ISBN:9781835884836, 9781835884836
- Veröffentlichungsdatum:2025-10-31
- Format:E-Book
- Artikel-ID: e_4i48
- Verleger: Packt Publishing
Wird geladen...
Wird geladen...