🎓全新!Kotlin Deep Dive 课程 — 26个代码练习场 & 158个互动测评

Practical Kotlin Deep Dive

深入剖析 Kotlin 的'如何'与'为什么',从核心语言基础和内部机制到 API 设计。涵盖 Kotlin 基础、标准库、协程、kotlinx 库、编译器内部原理和 Kotlin 多平台开发。

本书不仅停留在 API 表面,而是深入 Kotlin 内部:逐步讲解真实的 Kotlin 函数实现,解密生成的字节码,解释 Kotlin 编译器如何解析语言。

492
PDF 页数
5
章节
70
深度主题
50+
专业技巧
ISBN: 979-8243872744

关于作者

Jaewoong Eum (skydoves)

Jaewoong Eum (skydoves)

Google Developer Expert (Android & Firebase)

我是 Jaewoong Eum(也叫 skydoves),Android 和 Firebase 的 Google 开发者专家 (GDE),之前也是 Kotlin GDE。我创建了超过 80 个开源库和项目,每年被全球开发者下载超过 1500 万次。

这是我的第二本书,继《Manifest Android Interview》之后,该书在全球 Android 开发者社区中非常成功并广受好评。

我还是 Dove Letter 的创始人,这是一个订阅式的知识平台,分享、探讨 Android、Jetpack Compose 和 Kotlin 相关话题。

我希望这本书能帮助你获得新的视角,提升解决问题的能力,并建立对 Kotlin 的全面理解,从语言基础到协程、编译器和多平台开发等高级主题。

精通 Kotlin 所需的一切

本书的独特之处

从深入解释到实用代码参考

📖深度解析

每个主题都提供超越表面知识的详细解释,不仅探索 Kotlin 功能如何工作,还解释为什么这样设计。

💡专业技巧

'专业技巧'部分深入探讨高级主题,揭示 Kotlin 基础的内部结构,提供可以立即应用的专家见解。

🔍源码参考

你将看到 KEEP 提案、JetBrains YouTrack 讨论和编译器源代码的引用,直接了解语言设计决策背后的原因。

📚全面覆盖

从语言基础到标准库、协程、编译器和插件,以及 Kotlin 多平台 - 本书涵盖的实用知识将真正改变你编写 Kotlin 代码的方式。

内容结构

本书包含的内容

六个全面的章节,涵盖 Kotlin 开发的各个方面

Chapter 024 topics

Kotlin 语言

涵盖 Kotlin 的基础构建模块,从空安全和类型系统设计到高级特性如密封类、内联函数和委托。

Chapter 17 topics

Kotlin 标准库

深入探索 Kotlin 丰富的标准库,包括集合、序列、作用域函数以及使代码简洁的工具。

Chapter 219 topics

协程

全面探索 Kotlin 的异步编程方法。从挂起函数和构建器到结构化并发、Flow 和异常处理。

Chapter 34 topics

KotlinX 库

探索由 JetBrains 开发的官方 Kotlin 库,扩展额外功能。

Chapter 47 topics

Kotlin 编译器和插件

带你深入了解 Kotlin 代码如何转换为可执行程序。

Chapter 59 topics

Kotlin 多平台

探索 Kotlin 的跨平台能力,涵盖项目结构、源集层次结构和 Compose Multiplatform。

读者评价

开发者的声音

听听阅读过本书的行业专家和 GDE 的评价

这本书正是为这些开发者而写的。它深入探讨了 Kotlin 的核心原理和内部机制。如果你是一名想要真正理解这门语言并将技术水平提升到新高度的 Kotlin 开发者,我强烈推荐你阅读这本书。
Sungyong An
Sungyong An
Senior Android Engineer @ Naver Webtoon
Google Developer Expert for Android
《Kotlin 深度探索》是一本非常全面的指南,它超越了语法层面,深入探索 Kotlin 语言的内部机制和设计哲学。
John O'Reilly
John O'Reilly
Staff Software Engineer @ Kraken Technologies
Google Developer Expert for Android
非常好地编写,将复杂概念分解为清晰易懂的解释。在 AI 工具普遍可用的时代,这本书脱颖而出,物超所值。
Madona S. Wambua
Madona S. Wambua
Engineering Leader & Author
Google Developer Expert for Android
Kotlin 已从一种简单的编程语言演变为多平台开发的核心。这本书远超基本用法,深入探讨了 Kotlin 的设计哲学和内部机制。这是任何想要真正掌握 Kotlin 核心的工程师必读之书。
SeongUg (Steve) Jung
SeongUg (Steve) Jung
Principal Software Engineer @ Grab
Ex-Google Developer Expert for Android

评论

社区反馈

看看 Kotlin 社区对本书的评价

预览

书籍预览

购买前先看一看内容

Book preview预览书籍

喜欢吗?你可以在这里阅读更多内容:

全球覆盖

多语言版本

为全球 Kotlin 开发者社区提供翻译版本

现已推出印刷版

精装版和平装版

精美护封设计的高品质印刷版本

在 Amazon 购买

Practical Kotlin Deep Dive

通过 Kotlin Deep Dive 课程

通过编码练习和测验强化概念,解锁 Kotlin 编程基础和内部机制的在线课程。

Kotlin Deep Dive Course
📝158个互动评估
🏆完成证书
💻26 个实践代码演练场
🎯学习目标与回顾

目录

70个深度主题

六个全面的章节涵盖 Kotlin 开发的各个方面

  1. 1Null Safety
  2. 2Any, Unit, and Nothing
  3. 3Data Classes
  4. 4Sealed Classes and Interfaces
  5. 5Inner and Nested Classes
  6. 6Enum Classes
  7. 7Value Classes (Inline Classes)
  8. 8Object Declarations
  9. 9Companion Objects
  10. 10var and val
  11. 11Backing Fields and Backing Properties
  12. 12Delegated Properties
  13. 13lazy and lateinit
  14. 14Visibility Modifiers
  15. 15init Blocks and Initialization Order
  16. 16Higher-Order Functions
  17. 17The inline Keyword
  18. 18The reified Keyword
  19. 19Lambda Expressions
  20. 20SAM (Functional) Interfaces
  21. 21Extensions
  22. 22Equality: == vs ===
  23. 23Null-Related Operations
  24. 24Kotlin DSL
  1. 1Collection Types
  2. 2Transformation Operators
  3. 3Iterators
  4. 4Sequences
  5. 5Retrieving Parts of a Collection
  6. 6Object Ordering
  7. 7Scope Functions
  1. 1What Are Coroutines?
  2. 2Continuation
  3. 3Coroutines vs Threads
  4. 4Coroutine Builders
  5. 5Coroutine Context
  6. 6Job
  7. 7Coroutine Scope
  8. 8Dispatchers
  9. 9Channels
  10. 10Join and Yield
  11. 11Exception Handling
  12. 12Cold Flow vs Hot Flow
  13. 13StateFlow and SharedFlow
  14. 14flowOn
  15. 15Buffer
  16. 16FusibleFlow and ChannelFlow
  17. 17launchIn vs launch in
  18. 18Flow Transformation Operators
  19. 19callbackFlow and channelFlow
  1. 1kotlinx-serialization
  2. 2kotlinx-datetime
  3. 3kotlinx-collections-immutable
  4. 4Other KotlinX Libraries
  1. 1Annotation Processors, KAPT, and KSP
  2. 2Kotlin Compiler Structure
  3. 3K2 Compiler
  4. 4FIR (Frontend Intermediate Representation)
  5. 5IR and Backend
  6. 6Writing a Kotlin Compiler Plugin
  7. 7Real-World Compiler Plugin Examples
  1. 1What Is Kotlin Multiplatform?
  2. 2Platform-Specific APIs (expect/actual)
  3. 3Concurrency Strategies
  4. 4HTTP Communication
  5. 5Compose Multiplatform
  6. 6Source Set Structure
  7. 7Kotlin/Native Memory Management
  8. 8Testing Strategies
  9. 9Dependency Injection in KMP

历程

时间线与里程碑

本书历程中的重要时刻

2026.01.31
销量突破 400 本 🎉
2026.01.28
精装版和平装版在亚马逊上发布 📚
2026.01.15
发布日语版 🇯🇵
2026.01.13
发布印地语版 🇮🇳
2026.01.12
销量突破 200 本 🎉
2026.01.11
发布印尼语版 🇮🇩
2026.01.11
发布中文版 🇨🇳
2026.01.06
销量突破 100 本 🎉
2026.01.03
首版发布