Advanced Kotlin
summary
Covers concrete Kotlin features with code and decompiled Java examples: shows Delegates (observable, vetoable, notNull), how to write custom delegates and a shared preferences delegate that actually reads/writes prefs, explains tailrec vs co-recursion with factorial and string-trimming examples where only the co-recursive version compiles to a loop, walks all nine annotation use-site targets by decompiling bytecode, demos reflection (KClass/KCallable, KProperty in delegate lambdas), sealed classes, in/out variance and the IDE lint to suggest it, and omits coroutines.
AI-written summary · about
chapters (11)
- 0:00Introduction and overview
- 1:51Kotlin delegates deep dive
- 9:13Infix functions in Kotlin
- 13:31The where keyword explained
- 15:16Annotation use-site targets
- 20:15Tail recursion vs co-recursion
- 24:26Sealed classes overview
- 25:52Variance with in and out
- 29:50Kotlin reflection basics
- 33:44Domain-specific languages
- 38:00Further reading and wrap-up








