Categories
Bibliography Kotlin Software Engineering

Java to Kotlin: A Refactoring Guidebook, 1st Edition – ISBN-13: 978-1492082279

See: Java to Kotlin: A Refactoring Guidebook, 1st Edition, Publisher ‏ : ‎ O’Reilly Media; 1st edition (September 14, 2021)

Fair Use Source:

See also: Kotlin

Kotlin has raised the bar for programming languages on the Java Virtual Machine with its compatibility, readability, efficiency, 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 writing Kotlin from scratch, converting your existing Java when appropriate, and managing a mixed Java-Kotlin codebase as it evolves over time.



Resources

Errata Page: http://oreilly.com/catalog/0636920453178/errata

Categories
Bibliography Kotlin Software Engineering

Programming Kotlin: Create Elegant, Expressive, and Performant JVM and Android Applications, 1st Edition – B084P613XT ISBN-13: 978-1680506358

See: Programming Kotlin: Create Elegant, Expressive, and Performant JVM and Android Applications, 1st Edition, Publisher ‏ : ‎ Pragmatic Bookshelf; 1st edition (October 1, 2019)

Fair Use Source:

See also: Kotlin

Programmers don’t just use Kotlin, they love it. Even Google has adopted it as a first-class language for Android development. With Kotlin, you can intermix imperative, functional, and object-oriented styles of programming and benefit from the approach that’s most suitable for the problem at hand. Learn to use the many features of this highly concise, fluent, elegant, and expressive statically typed language with easy-to-understand examples. Learn to write easy-to-maintain, high-performing JVM and Android applications, create DSLs, program asynchrony, and much more.

Kotlin is a highly concise, elegant, fluent, and expressive statically typed multi-paradigm language. It is one of the few languages that compiles down to both Java bytecode and JavaScript. You can use it to build server-side, front-end, and Android applications. With Kotlin, you need less code to accomplish your tasks, while keeping the code type-safe and less prone to error. If you want to learn the essentials of Kotlin, from the fundamentals to more advanced concepts, you’ve picked the right book.

Fire up your favorite IDE and practice hundreds of examples and exercises to sharpen your Kotlin skills. Learn to build standalone small programs to run as scripts, create type safe code, and then carry that knowledge forward to create fully object-oriented and functional style code that’s easier to extend. Learn how to program with elegance but without compromising efficiency or performance, and how to use metaprogramming to build highly expressive code and create internal DSLs that exploit the fluency of the language. Explore coroutines, program asynchrony, run automated tests, and intermix Kotlin with Java in your enterprise applications.

This book will help you master one of the few languages that you can use for the entire full stack – from the server to mobile devices – to create performant, concise, and easy to maintain applications.

What You Need:

To try out the examples in the book you’ll need a computer with Kotlin SDK, JDK, and a text editor or a Kotlin IDE installed in it.



Resources

Errata Page: http://oreilly.com/catalog/9781680506358/errata