Java to Kotlin : A Refactoring Guidebook (Early Release)

Posted By: readerXXI

Java to Kotlin : A Refactoring Guidebook (Early Release)
by Duncan McGregor and Nat Pryce
English | 2021 | ISBN: 1492082279 | 396 Pages | ePUB | 6.57 MB

Kotlin has raised the bar for programming languages on the Java Virtual Machine with its compatibility, readability, and tool support. But adopting a new language can be daunting, especially when you're working with business-critical Java code that must meet changing requirements.

This book takes a novel approach to introducing Kotlin to Java programmers: showing you how to gradually refactor Java code to idiomatic Kotlin while continuing to evolve its functionality. But converting Java to Kotlin is just the starting point. Kotlin has many features beyond Java.

Using worked examples, authors Duncan McGregor and Nat Pryce guide you through honing the converted code to make it simpler, more efficient, more expressive, and easier to change. You'll learn how to take advantage of functional constructs to improve program structure, reliability, and error handling.

Once you finish this book, you'll be confident in writing Kotlin from scratch, converting your existing Java to Kotlin, and managing a mixed Java-Kotlin codebase as it evolves over time.


If you want to support my blog, then you can buy a premium account through any of my files (i.e. on the download page of my book). In this case, I get a percent of sale and can continue to delight you with new books!