Hands-On Object-Oriented Programming with Kotlin: Build robust software with reusable code using OOP principles and design patterns in Kotlin
Abid Khan, Igor Kucherenko
- 出版商: Packt Publishing
- 出版日期: 2018-10-31
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 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 程式設計的基本知識。
目錄:
1. 開始使用 Kotlin
2. 物件導向程式設計簡介
3. 物件導向程式設計的四大支柱
4. 類別: 進階概念
5. 資料集合、迭代器和過濾器
6. Kotlin 中的物件導向模式
7. 協程: 輕量級執行緒?
8. 互操作性
9. Kotlin 中的正則表達式和序列化
10. 例外處理
11. Kotlin 中的物件導向程式設計測試