It takes a week to travel the 8,000 miles overland from Java to Kotlin. If you're an experienced Java developer who has tried the Kotlin language, you were probably productive in about the same time. You'll have found that they do things differently in Kotlin, though. Nullability is important, co
Java to Kotlin: A Refactoring Guidebook
โ Scribed by Duncan McGregor, Nat Pryce
- Publisher
- O'Reilly Media
- Year
- 2021
- Tongue
- English
- Leaves
- 424
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
It takes a week to travel the 8,000 miles overland from Java to Kotlin. If you're an experienced Java developer who has tried the Kotlin language, you were probably productive in about the same time.
You'll have found that they do things differently in Kotlin, though. Nullability is important, collections are different, and classes are final by default. Kotlin is more functional, but what does that mean, and how should it change the way that you program? And what about all that Java code that you still have to support?
Your tour guides Duncan and Nat first made the trip in 2015, and they've since helped many teams and individuals follow in their footsteps. Travel with them as they break the route down into legs like Optional to Nullable, Beans to Values, and Open to Sealed Classes. Each explains a key concept and then shows how to refactor production Java to idiomatic Kotlin, gradually and safely, while maintaining interoperability.
The resulting code is simpler, more expressive, and easier to change. By the end of the journey, you'll be confident in refactoring Java to Kotlin, writing Kotlin from scratch, and managing a mixed language codebase as it evolves over time.
โฆ Subjects
java, kotlin, refactor, refactoring
๐ SIMILAR VOLUMES
<div><p>It takes a week to travel the 8,000 miles overland from Java to Kotlin. If you're an experienced Java developer who has tried the Kotlin language, you were probably productive in about the same time.</p><p>You'll have found that they do things differently in Kotlin, though. Nullability is im
Dive into the world of Kotlin programming with "Kotlin Programming Fundamentals: A Concise Guidebook," your definitive guide to mastering one of the most popular and powerful programming languages of today. Whether you are looking to transition from Java, embark on Android app development, or enhanc
<span>Handbook of Generation IV Nuclear Reactors, Second Edition</span><span> is a fully revised and updated comprehensive resource on the latest research and advances in generation IV nuclear reactor concepts. Editor Igor Pioro and his team of expert contributors have updated every chapter to refle