Kotlin Puzzlers
summary
Live demos of forty short Kotlin puzzles (code runs on Kotlin 1.1, puzzles on GitHub) that reveal concrete gotchas: nullable extension call returns null even when callable, inline functions allow non‑local return from lambdas, surprising behavior of delegated properties and default parameters, scope helpers (apply/let) pitfalls, Unit vs. Void semantics, and data class printing rules. Code is compiled and executed live, audience votes and explains answers, and winners get swag — practical fixes and IDE hints are shown.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:06What are Kotlin Puzzlers
- 7:19Null-type puzzle
- 10:36Method call puzzle
- 13:44System.getProperty puzzle
- 17:48Functions and lambdas puzzle
- 21:00Inline functions puzzle
- 26:27Properties and comparison puzzle
- 31:32Unit type puzzle
- 35:04Data class puzzle
- 38:11Let and also functions puzzle
- 40:50Let expression puzzle
- 44:55Delegate properties puzzle
- 53:14Default parameters puzzle
- 1:00:18Conclusion








