现在的位置: 首页英文图书, 软件>正文
Java to Kotlin: A Refactoring Guidebook
图书分类:英文图书, 软件 暂无评论 ⁄ 被围观 15 次阅读+

Description

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.

 

Author: Duncan McGregor, Nat Pryce
Length: 300 pages
Edition: 1
Language: English
Publisher: O'Reilly Media
Publication Date: 2021-11-16
ISBN-10: 1492082279
ISBN-13: 9781492082279

标签:,

你可能喜欢

0 0 投票数
文章评分
订阅评论
提醒
0 评论
内联反馈
查看所有评论