Java to Kotlin

A Refactoring Guidebook



Bookstore > Books > Java to Kotlin

Price$48.49 - $59.99
Rating
AuthorsDuncan McGregor, Nat Pryce
PublisherO'Reilly Media
Published2021
Pages424
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101492082279
ISBN-139781492082279
EBook Hardcover Paperback

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.


  1. (2 books)



Similar Books


HTML5 and JavaScript Projects, 2nd edition

HTML5 and JavaScript Projects, 2nd edition

by Jeanine Meyer

Build on your basic knowledge of HTML5 and JavaScript to create substantial HTML5 applications. Through the many interesting projects you can create in this book, you'll develop HTML5 skills for future projects, and extend the core skills you may have learned with its companion book, The Essential Guide to HTML5.HTML5 and JavaScript Proje...

Price:  $28.32  |  Publisher:  Apress  |  Release:  2018

Spring Boot: Up and Running

Spring Boot: Up and Running

by Mark Heckler

With over 75 million downloads per month, Spring Boot is the most widely used Java framework available. Its ease and power have revolutionized application development from monoliths to microservices. Yet Spring Boot's simplicity can also be confounding. How do developers learn enough to be productive immediately? This practical book shows...

Price:  $47.07  |  Publisher:  O'Reilly Media  |  Release:  2021

Functional Programming in JavaScript

Functional Programming in JavaScript

by Dan Mantyla

This is a fast-paced guide that will help you to write real-world applications by utilizing a wide range of functional techniques and styles.The book first explores the core concepts of functional programming common to all functional languages, with examples of their use in JavaScript. It's followed by a comprehensive roundup of functiona...

Price:  $23.99  |  Publisher:  Packt Publishing  |  Release:  2015

Learning Network Programming with Java

Learning Network Programming with Java

by Richard M Reese

Network-aware applications are becoming more prevalent and play an ever-increasing role in the world today. Connecting and using an Internet-based service is a frequent requirement for many applications. Java provides numerous classes that have evolved over the years to meet evolving network needs. These range from low-level socket and IP...

Price:  $39.99  |  Publisher:  Packt Publishing  |  Release:  2015

From Java To Ruby

From Java To Ruby

by Bruce Tate

You want your development team to be productive. You want to write flexible, maintainable web applications. You want to use Ruby and Rails. But can you justify the move away from established platforms such as J2EE? Bruce Tate's From Java to Ruby has the answers, and it expresses them in a language that'll help persuade managers and execut...

Price:  $4.14  |  Publisher:  The Pragmatic Programmers  |  Release:  2006

Beginning JavaScript, 3nd Edition

Beginning JavaScript, 3nd Edition

by Russ Ferguson

Discover everything you need to know to get up-to-speed with JavaScript development and add dynamic enhancements to web pages. This completely updated third edition reveals how the code works and when to use closures, constants, and execution content. Starting with the basics, you'll see how to employ prototypical inheritance, as well as ...

Price:  $19.02  |  Publisher:  Apress  |  Release:  2019

Modern Java Recipes

Modern Java Recipes

by Ken Kousen

The introduction of functional programming concepts in Java SE 8 was a drastic change for this venerable object-oriented language. Lambda expressions, method references, and streams fundamentally changed the idioms of the language, and many developers have been trying to catch up ever since. This cookbook will help. With more than 70 deta...

Price:  $40.34  |  Publisher:  O'Reilly Media  |  Release:  2017

JavaScript Concurrency

JavaScript Concurrency

by Adam Boduch

Concurrent programming may sound abstract and complex, but it helps to deliver a better user experience. With single threaded JavaScript, applications lack dynamism. This means that when JavaScript code is running, nothing else can happen. The DOM can't update, which means the UI freezes. In a world where users expect speed and responsive...

Price:  $35.99  |  Publisher:  Packt Publishing  |  Release:  2015