Java to Kotlin: A Refactoring Guidebook (Final)КНИГИ » ПРОГРАММИНГ
Название: Java to Kotlin: A Refactoring Guidebook (Final) Автор: Duncan McGregor, Nat Pryce Издательство: O’Reilly Media, Inc. Год: 2021 Страниц: 423 Язык: английский Формат: pdf (true) + pdf (conv), epub Размер: 10.1 MB, 10.1 MB
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.
Each chapter addresses an aspect of this transition, looking at some aspect of typical Java projects that can be improved on the journey. They are named in the pattern Java Way to Kotlin Way, where we recommend that you prefer the latter over the former. Maybe Kotlin makes easier an approach that was difficult in Java, or Kotlin discourages an approach that is common in Java to guide design in a direction that is less error-prone, more concise, and more tool-friendly.
We don’t just recommend you adopt the Kotlin way though; the chapters also show how to make the transformation. Not by just rewriting the Java, but by gradually refactoring it to Kotlin it in a way that is safe and allows us to maintain a mixed language codebase.
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.
Скачать Java to Kotlin: A Refactoring Guidebook (Final)
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
С этой публикацией часто скачивают:
Java to Kotlin (Early Release) Название: Java to Kotlin (Early Release) Автор: Duncan McGregor and Nat Pryce Издательство: O’Reilly Media Год: 2021-05-06: Third Release Формат:...
Effective Kotlin: Best practices Название: Effective Kotlin: Best practices Автор: Marcin Moskala Издательство: Leanpub Год: 2020-06-20 Страниц: 439 Язык: английский Формат: pdf...
Learning Kotlin Название: Learning Kotlin Автор: Good Library Издательство: Good Library Год: 2021 Страниц: 181 Язык: английский Формат: pdf, epub Размер: 37.4 MB ...
Java to Kotlin (Early Release) Название: Java to Kotlin (Early Release) Автор: Duncan McGregor and Nat Pryce Издательство: O’Reilly Media Год: 2020 Формат: EPUB Страниц: 92 Размер:...
Elements Of Kotlin 0.3 Название: Elements Of Kotlin 0.3 Автор: Mark L. Murphy Издательство: CommonsWare Год: 2020 Страниц: 373 Язык: английский Формат: pdf (true), rtf,...
Kotlin for Android App Development (Final) Название: Kotlin for Android App Development (Developer's Library) Автор: Peter Sommerhoff Издательство: Addison-Wesley Professional Год: 2019...