Java to Kotlin: A Refactoring Guidebook
Book information
Description
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.
Similar books
Hands-on Design Patterns with Kotlin: GoF, Reactive patterns, Concurrent patterns and more
2018 · EPUB
Android Development with Kotlin
2017 · PDF
Reisen im Ostindischen Archipel in den Jahren 1865 und 1866
1869 · PDF
Eine Reise um die Welt
1899 · PDF
Europäische Siedler in Niederländisch Ost-Indien
1892 · PDF
Über den Gebirgsbau der Insel Java
1844 · PDF
Der Malayische Archipel : Land und Leute, in Schilderungen gesammelt während eines dreißigjährigen Aufenthaltes in den Kolonien
1878 · PDF
Starting Out with Java: From Control Structures through Data Structures (4th Edition)
2018 · PDF