找回密码
 立即注册
相关推荐换一批
  1. 仿互站网JS弹窗页广告代码
  2. 自适应资源网站文字广告位代码
  3. JT/T 301-2019 公路交叉分类与编码规则
  4. SL 261-2017 湖泊代码
  5. QB/T 5273-2018 工业用缝纫机数字控制器功能代码数据格式
  6. GA 557.9-2005 互联网上网服务营业场所信息安全管理代码第9部分:规则动作代码
  7. GA 557.3-2005 互联网上网服务营业场所信息安全管理代码第3部分:审计级别代码
  8. GA 408.1-2003 道路交通违章管理信息代码第1部分:交通违章行为代码
  9. GA 398.7-2002 经济F罪案件管理信息代码第7部分:撤销案件原因代码
  10. GA 398.8-2002 经济F罪案件管理信息代码第8部分:统计立(破)案时间段代码
  11. GA 398.9-2002 经济F罪案件管理信息代码第9部分:F罪主体类型代码
  12. GA 398.2-2002 经济F罪案件管理信息代码第2部分:案件来源代码
  13. GA 398.3-2002 经济F罪案件管理信息代码第3部分:案件督办级别代码
  14. GA 398.4-2002 经济F罪案件管理信息代码第4部分:初查审核结果代码
  15. GA 398.5-2002 经济F罪案件管理信息代码第5部分:侦查工作阶段代码
  16. GA 398.6-2002 经济F罪案件管理信息代码第6部分:补立案件原因代码
  17. GA 777.2-2008 指纹数据代码第2部分:指纹纹型代码
  18. GA 777.3-2008 指纹数据代码第3部分:乳突线颜色代码
  19. GA 777.6-2008 指纹数据代码第6部分:指纹协查级别代码
  20. GA 690.1-2007 民用爆Z物品管理信息代码第1部分:民用爆Z物品品种分类与代码
  21. GA 777.4-2008 指纹数据代码第4部分:被捺印指纹人员类别代码
  22. YD/T 1962-2009 具有复用去复用功能的 10Gbit/s 和 40Gbit/s 光收发合一模块软件技?
KotlinJava代码to | 其他 2021-08-25 621 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