Programming Kotlin (Paperback)

Stephen Samuel, Stefan Bocutiu

  • Programming Kotlin (Paperback)-preview-1
  • Programming Kotlin (Paperback)-preview-2
  • Programming Kotlin (Paperback)-preview-3
  • Programming Kotlin (Paperback)-preview-4
  • Programming Kotlin (Paperback)-preview-5
  • Programming Kotlin (Paperback)-preview-6
  • Programming Kotlin (Paperback)-preview-7
  • Programming Kotlin (Paperback)-preview-8
  • Programming Kotlin (Paperback)-preview-9
  • Programming Kotlin (Paperback)-preview-10
  • Programming Kotlin (Paperback)-preview-11
  • Programming Kotlin (Paperback)-preview-12
  • Programming Kotlin (Paperback)-preview-13
  • Programming Kotlin (Paperback)-preview-14
  • Programming Kotlin (Paperback)-preview-15
  • Programming Kotlin (Paperback)-preview-16
  • Programming Kotlin (Paperback)-preview-17
  • Programming Kotlin (Paperback)-preview-18
  • Programming Kotlin (Paperback)-preview-19
  • Programming Kotlin (Paperback)-preview-20
  • Programming Kotlin (Paperback)-preview-21
  • Programming Kotlin (Paperback)-preview-22
  • Programming Kotlin (Paperback)-preview-23
  • Programming Kotlin (Paperback)-preview-24
  • Programming Kotlin (Paperback)-preview-25
  • Programming Kotlin (Paperback)-preview-26
  • Programming Kotlin (Paperback)-preview-27
  • Programming Kotlin (Paperback)-preview-28
  • Programming Kotlin (Paperback)-preview-29
  • Programming Kotlin (Paperback)-preview-30
  • Programming Kotlin (Paperback)-preview-31
Programming Kotlin (Paperback)-preview-1

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

相關主題

商品描述

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 代碼,無需任何問題
- 完整概述空值安全、泛型等許多有趣的功能

適合閱讀對象

本書適合現有的 Java 開發人員,想要了解另一種 JVM 語言的更多資訊。如果您想了解 Kotlin 的優勢,這本書非常適合您。

您將學到什麼

- 使用新功能撰寫結構化且易讀的物件導向程式碼
- 了解如何使用 lambda 和高階函式撰寫乾淨、可重複使用且簡潔的程式碼
- 撰寫單元測試,並將 Kotlin 測試與 Java 代碼整合到過渡的程式碼庫中
- 使用 Kotlin 撰寫真實世界的生產程式碼,以微服務的風格
- 利用 Kotlin 對 Java 集合庫的擴展功能
- 使用解構表達式,並了解如何撰寫您自己的表達式
- 撰寫避免空指針錯誤的程式碼,並了解 Java 可為空的程式碼如何與 Kotlin 程式碼庫中的功能整合
- 發現如何在 Kotlin 中撰寫函式,了解可用的新功能,並擴展現有的程式庫
- 學習撰寫代數資料類型,並找出何時應該使用它們

詳細內容

自 2011 年 JetBrains 開源 Kotlin 以來,它一直引起了廣泛關注,並受到全球開發人員的讚譽,已經被公司採用。本書詳細介紹 Kotlin,展示了所有功能,並使您能夠撰寫 Kotlin 程式碼以進行生產。

我們從基礎知識開始:讓您熟悉運行 Kotlin 程式碼、設置、工具和指示,以便您可以撰寫基本程式。接下來,我們涵蓋物件導向程式碼:函式、lambda 和屬性,同時使用 Kotlin 的新功能。

然後,我們轉向空值安全方面和類型參數化。我們向您展示如何解構表達式,甚至撰寫您自己的表達式。我們還帶您深入重要主題,如測試、並行處理、微服務等等。通過閱讀本書,您將能夠組合不同的服務並構建自己的應用程式。

風格和方法

這是一本易於理解的指南,涵蓋了 Kotlin 程式設計的全部功能。