Kotlin: An Illustrated Guide

£20.25 £17.00

Learn Kotlin programming the fun way, with oodles of illustrations and concrete explanations, in a book that steps through the concepts one at a time in order to help you build a solid mental model of the language. Whether you're new to Kotlin, or just looking to fill in some gaps of knowledge, Kotlin: An Illustrated Guide has got you covered!

Although this PDF book is still in "early access", the main content is complete for all 20 chapters. I'm actively working on scaling up the resolution of the drawings in the last 3 chapters. After that, the layout will be finalized to reduce whitespace and to prepare for the print edition.

How else can I read this book?

  • The main content of this book is freely available online at https://typealias.com/start.
  • If you're a Leanpub Reader, Standard, or Pro member, you can pick up the PDF book for no additional cost on Leanpub. It's also available for purchase on Leanpub.

By purchasing this digital edition, you'll get a PDF of the book, which you can read offline and mark up with your favorite PDF application.

Chapters

  1. Variables, Expressions, and Types
  2. Functions
  3. Conditionals: When and If
  4. Introduction to Classes and Objects
  5. Enum Classes in Kotlin
  6. Nulls and Null Safety
  7. Lambdas and Function References
  8. Collections: Lists and Sets
  9. Collections: Maps
  10. Receivers and Extensions
  11. Scopes and Scope Functions
  12. Introduction to Interfaces
  13. Introduction to Class Delegation
  14. Inheritance and Abstract Classes
  15. Data Classes and Destructuring
  16. Sealed Classes
  17. Handling Runtime Exceptions
  18. Generics
  19. Generic Variance
  20. Introduction to Coroutines