Front Matter
What’s the current state of this book?
Who is this book for?
Chapter 1 - Variables, Expressions, and Types
Chapter 2 - Functions
Chapter 3 - Conditionals
Chapter 4 - Classes and Objects
Chapter 5 - Enum Classes
Chapter 6 - Nulls and Null Safety
Chapter 7 - Lambdas and Function References
Chapter 8 - Lists and Sets
Chapter 9 - Maps
Chapter 10 - Receivers and Extensions
Chapter 11 - Scopes and Scope Functions
Chapter 12 - Interfaces
Chapter 13 - Intro to Class Delegation
Chapter 14 - Abstract and Open Classes
Chapter 15 - Data Classes and Destructuring
Chapter 16 - Sealed Types
Chapter 17 - Exceptions
Chapter 18 - Generics
Chapter 19 - Generic Variance
Chapter 20 - Coroutine Essentials
Back Matter
Learn Kotlin programming the fun way—with oodles of illustrations and concrete explanations! The popular online book is now available in print for the first time, walking you through Kotlin’s most important concepts step by step, helping you build a solid mental model of the language. Kotlin’s features are explained through simple, tangible, and illustrated examples, ensuring clarity all along the way.
Readers who are new to the language appreciate that each chapter builds on a strong foundation of the previous chapters, and readers who are already familiar with the concepts love seeing them brought to life in a fresh, engaging way—making complex ideas easy to remember and enjoyable to revisit. Regardless of your experience, Kotlin: An Illustrated Guide has something for everyone.