Advanced Kotlin
summary
Covers concrete Kotlin features and what they do: the standard library’s four delegates — observable, vetoable, notNull — plus how to build a SharedPreferences delegate that reads/writes by type and works in practice; infix functions like two/downTo and a DSL-style seven of diamonds example; the where keyword for multi-bounds; exactly nine use-site targets and where annotations end up in decompiled Java; tailrec turns a recursive factorial into a loop in bytecode; KClass/java reflection and lambdas-with-receiver used to build a tiny HTML DSL.
AI-written summary · about
chapters (10)
- 0:00Introduction and overview
- 2:44Custom delegates in Kotlin
- 10:47Infix functions explained
- 14:45Where keyword for generics
- 17:12Annotation use-site targets
- 22:29Tail recursion in Kotlin
- 27:45Covariance and contravariance
- 33:03Kotlin reflection basics
- 37:41Building DSLs with Kotlin
- 42:58Further learning resources








