Kotlin 102 Beyond the Basics
summary
Covers concrete Kotlin features: property delegation with built-ins like lazy/observable/vetoable, creating custom delegates, reified generics via inline functions to work around JVM type erasure, lazy sequences for streaming, and lambdas with receivers to build statically typed DSLs. Demonstrates coroutines (kotlinx.coroutines): threads fail at tens of thousands with OOM but coroutines successfully launch hundreds of thousands to millions using suspend, async/launch, delay and different dispatchers; shows channels/actors and that only one keyword is added: suspend.
AI-written summary · about
chapters (31)
- 0:00Introduction
- 5:08Lazy
- 9:38Functional Programming
- 15:00Reification
- 15:57Inlining
- 16:45lambda expression
- 17:54anonymous functions
- 19:38crossing line
- 20:10extension functions
- 21:24invoke an object
- 22:29lambda with receiver
- 23:38lambda with route handler
- 24:43DSLs
- 25:12Invoke
- 25:43Create DSL
- 26:00Algebraic Data Types
- 27:18Filter Maps
- 28:33Type Aliases
- 30:15Deprecation
- 31:09Combining deprecated with deprecated
- 32:00Flexibility in Kotlin
- 33:59Threads vs Coroutines
- 35:31Coroutines
- 39:56Functions
- 40:40Sync await
- 41:23Dispatchers
- 42:04Lazy start
- 43:36One keyword
- 43:56Suspended
- 44:25Launch
- 44:46Conclusion








