How to Kotlin - from the lead Kotlin language designer
summary
Shows concrete Kotlin practices: use data classes and the IDE Java->Kotlin converter to make classes cheap, prefer top‑level and local functions and extension functions over utility containers, replace verbose getters with delegated properties and lazy, rely on smart casts and sealed classes to remove casts. Demo creates 100,000 OS threads and gets OOM, then replaces them with coroutines that run fine and shows turning callback APIs into suspend functions via suspend/resume and buildSequence yielding lazy streams.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:10Welcome
- 1:42Declaring classes
- 3:15Cheap classes
- 5:33Properties
- 6:19Delegation
- 8:07Property classes
- 10:02Functions
- 15:53Local Functions
- 19:15Expressions
- 22:55When
- 23:47Null
- 25:16Functional style
- 27:04Functional abstractions








