Kotlin 102 - Beyond the basics
summary
Covers concrete Kotlin features and how to use them: reified generics via inline functions to avoid JVM type erasure, declaration-site variance (out/in) versus Java use-site wildcards, and the difference between List and MutableList. Shows lambdas with receivers used to build DSLs (Kotlin HTML, TornadoFX), property delegation including lazy, observable and vetoable, and typealias as simple aliases. Demonstrates kotlinx.coroutines with suspend, runBlocking, launch and async, including 100,000 coroutines succeeding where 100,000 threads fail, and explains non‑local returns and labeled returns.
AI-written summary · about
chapters (16)
- 0:00Intro
- 3:00Higherorder functions
- 4:22Extension functions
- 6:05Invoke operator
- 6:40lambda with receiver
- 7:38lambda expression
- 10:10HTML builders
- 11:38Inlining
- 14:48Returns
- 19:47Type erasure
- 21:32Delegation
- 25:33Type aliases
- 28:10Variance and Covariance
- 30:55Variance and Contravariance
- 32:21Coroutines
- 35:48Runblocking








