O’Reilly Media, 2019. — 480 p.
Head First Kotlin is a complete introduction to coding in Kotlin. This hands-on book helps you learn the Kotlin language with a unique method that goes beyond syntax and how-to manuals and teaches you how to think like a great Kotlin developer. You’ll learn everything from language fundamentals to collections, generics, lambdas, and higher-order functions. Along the way, you’ll get to play with both object-oriented and functional programming. If you want to really understand Kotlin, this is the book for you.
Why does this book look so different?
Based on the latest research in cognitive science and learning theory, Head First Kotlin uses a visually rich format to engage your mind rather than a text-heavy approach that puts you to sleep. Why waste your time struggling with new concepts? This multisensory learning experience is designed for the way your brain really works.
How to use this book: Intro
Getting started: A Quick Dip
Basic types and variables: Being a Variable
Functions: Getting Out of Main
Classes and objects: A Bit of Class
Subclasses and superclasses: Using Your Inheritance
Abstract classes and interfaces: Serious Polymorphism
Data classes: Dealing with Data
Nulls and exceptions: Safe and Sound
Collections: Get Organized
Generics: Know Your Ins from Your Outs
Lambdas and higher-order functions: Treating Code Like Data
Built-in higher-order functions: Power Up Your Code