找回密码
 立即注册
相关推荐换一批
  1. GA 777.4-2008 指纹数据代码 第4部分:被捺印指纹人员类别代码
  2. YZ/Z 0053-2005 邮政企业会计科目分类与代码
  3. TB/T 3154-2007 机车车辆车轮和轮箍伤损代码
  4. YZ/T 0055-2001 G际给据邮件代码编制规则
  5. YZ/T 0054-2001 G际邮件容器代码编制规则
  6. YZ/T 0030-2001 邮政大宗用户代码编制规则及相关代码
  7. YZ/T 0029-2001 邮件收寄和投递备注信息代码
  8. YZ/T 0028-2001 邮政业务分类与代码集
  9. YZ/T 0015-2006 G际邮件处理中心代码
  10. YZ/T 0028-2005 邮政业务分类与代码集
  11. GB/T 2311-1990 信息处理 七位和八位编码字符集 代码扩充技术
  12. GB 8561-1988 专业技术职务代码
  13. QJ 1193.28-1987 人事系统数据 学术组织职务代码
  14. GB/T 8563.3-2005 奖励、纪律处分信息分类与代码 第3部分:纪律处分代码
  15. GB/T 4880.1-2005 语种名称代码第1部分:2字母代码
  16. GA 439-2003 治安管理特种行业分类代码
  17. GA 240.40-2003 刑事F罪信息管理代码 第40部分:鞋印分类和代码
  18. GA 16.8-2003 道路交通事故信息代码 第8部分:出行目的代码
  19. GA 16.5-2003 道路交通事故信息代码 第5部分:当事人责任类型代码
  20. GA 16.2-2003 道路交通事故信息代码 第2部分:事故形态代码
  21. GA 16.1-2003 道路交通事故信息代码 第1部分:道路交通事故等级代码
  22. GA 16.11-2003 道路交通事故信息代码 第11部分:当事机动车保x情况代码
  23. GA 16.10-2003 道路交通事故信息代码 第10部分:驾驶机动车人员类型代码
KotlinJava代码to | 其他 2021-08-25 671 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Kotlin 以其兼容性、可读性、效率和工具支持提高了 Java 虚拟机上编程语言的标准。但是采用一种新语言可能令人生畏,尤其是当您使用必须满足不断变化的需求的关键业务 Java 代码时。

本书采用一种新颖的方法向 Java 程序员介绍 Kotlin:向您展示如何在继续发展其功能的同时逐步将 Java 代码重构为惯用的 Kotlin。但将 Java 转换为 Kotlin 只是起点。 Kotlin 有许多超越 Java 的特性。

作者 Duncan McGregor 和 Nat Pryce 使用工作示例指导您磨练转换后的代码,使其更简单、更高效、更具表现力且更易于更改。您将学习如何利用函数式构造来改进程序结构、可靠性和错误处理。

完成本书后,您将有信心从头开始编写 Kotlin,在适当的时候转换现有的 Java,并随着时间的推移管理混合的 Java-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.)

Java to Kotlin.epub


上一篇:A Complete Guide to Burp Suite
下一篇:Updates to XNU debugging tutorial