Programming Kotlin (Paperback)
暫譯: Kotlin 程式設計 (平裝本)
Stephen Samuel, Stefan Bocutiu
- 出版商: Packt Publishing
- 出版日期: 2017-01-18
- 定價: $1,470
- 售價: 6.0 折 $882
- 語言: 英文
- 頁數: 420
- 裝訂: Paperback
- ISBN: 1787126366
- ISBN-13: 9781787126367
-
相關分類:
JVM 語言
-
其他版本:
Learn Kotlin Programming
買這商品的人也買了...
-
$650$618 -
$780$616 -
$490$382 -
$680$530 -
$590$502 -
$1,730$1,644 -
$580$493 -
$500$395 -
$1,120The Manager's Path: A Guide for Tech Leaders Navigating Growth and Change (Paperback)
-
$360$284 -
$790$616 -
$450$356 -
$450$356 -
$720$612 -
$590$460 -
$390$257 -
$480$379 -
$380$300 -
$403Python 爬蟲開發與項目實戰
-
$500$395 -
$480$374 -
$680$537 -
$400$312 -
$480$379 -
$1,000$780
相關主題
商品描述
Familiarize yourself with all of Kotlin’s features with this in-depth guide
About This Book
- Get a thorough introduction to Kotlin
- Learn to use Java code alongside Kotlin without any hiccups
- Get a complete overview of null safety, Generics, and many more interesting features
Who This Book Is For
The book is for existing Java developers who want to learn more about an alternative JVM language. If you want to see what Kotlin has to offer, this book is ideal for you.
What You Will Learn
- Use new features to write structured and readable object-oriented code
- Find out how to use lambdas and higher order functions to write clean, reusable, and simple code
- Write unit tests and integrate Kotlin tests with Java code in a transitioning code base
- Write real-world production code in Kotlin in the style of microservices
- Leverage Kotlin’s extensions to the Java collections library
- Use destructuring expressions and find out how to write your own
- Write code that avoids null pointer errors and see how Java-nullable code can integrate with features in a Kotlin codebase
- Discover how to write functions in Kotlin, see the new features available, and extend existing libraries
- Learn to write an algebraic data types and figure out when they should be used
In Detail
Kotlin has been making waves ever since it was open sourced by JetBrains in 2011; it has been praised by developers across the world and is already being adopted by companies. This book provides a detailed introduction to Kotlin that shows you all its features and will enable you to write Kotlin code to production.
We start with the basics: get you familiar with running Kotlin code, setting up, tools, and instructions that you can use to write basic programs. Next, we cover object oriented code: functions, lambdas, and properties – all while using Kotlin’s new features.
Then, we move on to null safety aspects and type parameterization. We show you how to destructure expressions and even write your own. We also take you through important topics like testing, concurrency, microservices, and a whole lot more. By the end of this book you will be able to compose different services and build your own applications.
Style and approach
An easy to follow guide that covers the full set of features in Kotlin programming.
商品描述(中文翻譯)
熟悉Kotlin的所有功能,透過這本深入的指南
關於本書
- 徹底介紹Kotlin
- 學會如何與Kotlin無縫使用Java代碼
- 全面了解空值安全、泛型及許多其他有趣的功能
本書適合誰
本書適合希望了解替代JVM語言的現有Java開發者。如果你想看看Kotlin能提供什麼,這本書非常適合你。
你將學到什麼
- 使用新功能編寫結構化且可讀的物件導向代碼
- 了解如何使用lambda和高階函數來編寫乾淨、可重用且簡單的代碼
- 編寫單元測試並將Kotlin測試與過渡代碼庫中的Java代碼整合
- 以微服務的風格用Kotlin編寫實際的生產代碼
- 利用Kotlin對Java集合庫的擴展
- 使用解構表達式並了解如何編寫自己的解構表達式
- 編寫避免空指標錯誤的代碼,並了解Java可空代碼如何與Kotlin代碼庫中的功能整合
- 發現如何在Kotlin中編寫函數,查看可用的新功能,並擴展現有庫
- 學會編寫代數數據類型並了解何時應該使用它們
詳細內容
Kotlin自2011年由JetBrains開源以來便引起了廣泛關注;它受到全球開發者的讚譽,並已被多家公司採用。本書提供了Kotlin的詳細介紹,展示了其所有功能,並使你能夠編寫生產級的Kotlin代碼。
我們從基礎開始:讓你熟悉運行Kotlin代碼、設置、工具和可以用來編寫基本程序的指令。接下來,我們將涵蓋物件導向代碼:函數、lambda和屬性——同時使用Kotlin的新功能。
然後,我們將進入空值安全性和類型參數化的方面。我們將展示如何解構表達式,甚至編寫自己的解構表達式。我們還將帶你了解測試、併發、微服務等重要主題。到本書結束時,你將能夠組合不同的服務並構建自己的應用程序。
風格與方法
一本易於跟隨的指南,涵蓋Kotlin編程中的所有功能。