Java to Kotlin
A Refactoring Guidebook
Price | $57.05 - $59.99
|
Rating | |
Authors | Duncan McGregor, Nat Pryce |
Publisher | O'Reilly Media |
Published | 2021 |
Pages | 424 |
Language | English |
Format | Paper book / ebook (PDF) |
ISBN-10 | 1492082279 |
ISBN-13 | 9781492082279 |
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.
- Duncan McGregor
- Nat Pryce (2 books)
5 5 31
Similar Books
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 ...
Price: $4.14 | Publisher: The Pragmatic Programmers | Release: 2006
Learn Enough JavaScript to Be Dangerous
by Michael Hartl
JavaScript plays a key role in modern software development, not only because it is the only language that runs inside virtually all web browsers, but also because it has become widely used for back-end and general-purpose development as well. Although JavaScript is a big language, you don't need to learn "everything" about ...
Price: $31.98 | Publisher: Addison-Wesley | Release: 2022
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 ...
Price: $28.32 | Publisher: Apress | Release: 2018
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 ...
Price: $44.09 | Publisher: O'Reilly Media | Release: 2021
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 func...
Price: $29.99 | Publisher: Packt Publishing | Release: 2015
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: $49.99 | Publisher: Packt Publishing | Release: 2015
Programming Android with Kotlin
by Pierre-Olivier Laurence, Amanda Hinchman-Dominguez, Mike Dunn, G. Blake Meike
Developing applications for the Android mobile operating system can seem daunting, particularly if it requires learning a new programming language: Kotlin, now Androidâ??s officialdevelopment language. With this practical book, Android developers will learn how to make the transition from Java to Kotlin, including how Kotlin provides a t...
Price: $44.09 | Publisher: O'Reilly Media | Release: 2021
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 wel...
Price: $19.02 | Publisher: Apress | Release: 2019