Mastering Kotlin

Ebel, Nate

  • 出版商: Packt Publishing
  • 出版日期: 2019-10-11
  • 售價: $1,380
  • 貴賓價: 9.5$1,311
  • 語言: 英文
  • 頁數: 434
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1838555722
  • ISBN-13: 9781838555726
  • 相關分類: JVM 語言
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

Using Kotlin without taking advantage of its power and interoperability is like owning a sports car and never taking it out of the garage. While documentation and introductory resources can help you learn the basics of Kotlin, the fact that it’s a new language means that there are limited learning resources and code bases available in comparison to Java and other established languages.

This Kotlin book will show you how to leverage software designs and concepts that have made Java the most dominant enterprise programming language. You’ll understand how Kotlin is a modern approach to object-oriented programming (OOP). This book will take you through the vast array of features that Kotlin provides over other languages. These features include seamless interoperability with Java, efficient syntax, built-in functional programming constructs, and support for creating your own DSL. Finally, you will gain an understanding of implementing practical design patterns and best practices to help you master the Kotlin language.

By the end of the book, you'll have obtained an advanced understanding of Kotlin in order to be able to build production-grade applications.

  • Model data using interfaces, classes, and data classes
  • Grapple with practical interoperability challenges and solutions with Java
  • Build parallel apps using concurrency solutions such as coroutines
  • Explore functional, reactive, and imperative programming to build flexible apps
  • Discover how to build your own domain-specific language
  • Embrace functional programming using the standard library and Arrow
  • Delve into the use of Kotlin for frontend JavaScript development
  • Build server-side services using Kotlin and Ktor
  • Understand and leverage the syntax, tools, and patterns by writing code in Kotlin
  • Explore practical topics such as Java interop, concurrency with coroutines, and functional programming
  • Discover how to use Kotlin for build targets like Android, iOS, JavaScript, and backend service

商品描述(中文翻譯)

使用 Kotlin 而不充分利用其功能和互操作性,就像擁有一輛跑車卻從未將其開出車庫一樣。儘管文檔和入門資源可以幫助您學習 Kotlin 的基礎知識,但由於 Kotlin 是一種新語言,相比於 Java 和其他已建立的語言,可用的學習資源和程式庫有限。

這本 Kotlin 書將向您展示如何利用使 Java 成為最主要的企業程式語言的軟體設計和概念。您將了解 Kotlin 是面向對象編程 (OOP) 的現代方法。本書將帶您深入了解 Kotlin 提供的眾多功能,包括與 Java 的無縫互操作性、高效的語法、內建的函數式編程結構以及支援創建自己的 DSL。最後,您將瞭解如何實施實用的設計模式和最佳實踐,以幫助您精通 Kotlin 語言。

通過閱讀本書,您將獲得對 Kotlin 的高級理解,以便能夠構建生產級應用程式。

本書內容包括:

- 使用接口、類和資料類來建模資料
- 解決與 Java 的互操作性挑戰並提供解決方案
- 使用協程等並行解決方案構建並行應用程式
- 探索函數式、反應式和命令式編程以構建靈活的應用程式
- 學習如何構建自己的領域特定語言
- 使用標準程式庫和 Arrow 採用函數式編程
- 深入研究使用 Kotlin 進行前端 JavaScript 開發
- 使用 Kotlin 和 Ktor 構建服務端服務
- 通過使用 Kotlin 編寫程式碼來理解和利用語法、工具和模式
- 探索實用主題,如 Java 互操作性、使用協程進行並行編程和函數式編程
- 瞭解如何在 Android、iOS、JavaScript 和後端服務等目標上使用 Kotlin。

以上是本書的內容概述。