Hands-On Object-Oriented Programming with Kotlin: Build robust software with reusable code using OOP principles and design patterns in Kotlin
暫譯: Kotlin 實作物件導向程式設計:運用 OOP 原則與設計模式建立可重用的穩健軟體
Abid Khan, Igor Kucherenko
- 出版商: Packt Publishing
- 出版日期: 2018-10-31
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 370
- 裝訂: Paperback
- ISBN: 1789617723
- ISBN-13: 9781789617726
-
相關分類:
JVM 語言、Object-oriented、Design Pattern
海外代購書籍(需單獨結帳)
商品描述
Learn everything you need to know about object-oriented programming with the latest features of Kotlin 1.3
Key Features
- A practical guide to understand objects and classes in Kotlin
- Learn to write asynchronous, non-blocking codes with Kotlin coroutines
- Explore Encapsulation, Inheritance, Polymorphism, and Abstraction in Kotlin
Book Description
Kotlin is an object-oriented programming language. The book is based on the latest version of Kotlin. The book provides you with a thorough understanding of programming concepts, object-oriented programming techniques, and design patterns. It includes numerous examples, explanation of concepts and keynotes. Where possible, examples and programming exercises are included.
The main purpose of the book is to provide a comprehensive coverage of Kotlin features such as classes, data classes, and inheritance. It also provides a good understanding of design pattern and how Kotlin syntax works with object-oriented techniques. You will also gain familiarity with syntax in this book by writing labeled for loop and when as an expression. An introduction to the advanced concepts such as sealed classes and package level functions and coroutines is provided and we will also learn how these concepts can make the software development easy. Supported libraries for serialization, regular expression and testing are also covered in this book. By the end of the book, you would have learnt building robust and maintainable software with object oriented design patterns in Kotlin.
What you will learn
- Get an overview of the Kotlin programming language
- Discover Object-oriented programming techniques in Kotlin
- Understand Object-oriented design patterns
- Uncover multithreading by Kotlin way
- Understand about arrays and collections
- Understand the importance of object-oriented design patterns
- Understand about exception handling and testing in OOP with Kotlin
Who this book is for
This book is for programmers and developers who wish to learn Object-oriented programming principles and apply them to build robust and scalable applications. Basic knowledge in Kotlin programming is assumed
Table of Contents
- Getting Started with Kotlin
- Introduction to object-oriented programming
- Four Pillars of Object Oriented Programming
- Classes: Advanced Concepts
- Data Collection, Iterators and Filters
- Object-Oriented Patterns in Kotlin
- Coroutines: A lightweight thread?
- Interoperability
- Regular expression and Serialization in Kotlin
- Exception handling
- Testing in Object Oriented Programming with Kotlin
商品描述(中文翻譯)
學習有關物件導向程式設計的所有知識,掌握 Kotlin 1.3 的最新功能
主要特點
- 實用指南,幫助理解 Kotlin 中的物件和類別
- 學習使用 Kotlin 協程編寫非同步、非阻塞的程式碼
- 探索 Kotlin 中的封裝、繼承、多型和抽象
書籍描述
Kotlin 是一種物件導向程式語言。本書基於 Kotlin 的最新版本,提供對程式設計概念、物件導向程式設計技術和設計模式的全面理解。書中包含大量範例、概念解釋和重點說明,並在可能的情況下提供範例和程式練習。
本書的主要目的是全面介紹 Kotlin 的特性,如類別、資料類別和繼承。它還提供對設計模式的良好理解,以及 Kotlin 語法如何與物件導向技術協同工作。您將通過編寫標記的 for 迴圈和 when 表達式來熟悉語法。本書還介紹了封閉類別、包級函數和協程等進階概念,並學習這些概念如何簡化軟體開發。本書還涵蓋了支援序列化、正則表達式和測試的函式庫。到書籍結束時,您將學會如何使用物件導向設計模式在 Kotlin 中構建穩健且可維護的軟體。
您將學到什麼
- 概覽 Kotlin 程式語言
- 發現 Kotlin 中的物件導向程式設計技術
- 理解物件導向設計模式
- 揭示 Kotlin 的多執行緒方式
- 理解陣列和集合
- 理解物件導向設計模式的重要性
- 了解在 Kotlin 中的物件導向程式設計中的例外處理和測試
本書適合誰
本書適合希望學習物件導向程式設計原則並應用於構建穩健且可擴展應用程式的程式設計師和開發人員。假設讀者具備基本的 Kotlin 程式設計知識。
目錄
- 開始使用 Kotlin
- 物件導向程式設計簡介
- 物件導向程式設計的四大支柱
- 類別:進階概念
- 資料集合、迭代器和過濾器
- Kotlin 中的物件導向模式
- 協程:輕量級執行緒?
- 互操作性
- Kotlin 中的正則表達式和序列化
- 例外處理
- Kotlin 中的物件導向程式設計測試