Kotlin Puzzlers
summary
Live IDE demos run on Kotlin 1.2 RC show over 50+ puzzlers from a GitHub repo, each a short program revealing concrete surprises: missing ternary and Elvis quirks, unlabeled return exits nearest function, range checks that truncate Double to Int, backing fields that make overridden properties become unnamed at runtime, delegate-to-map retaining the original map, extension methods losing to real methods, inconsistent operator/extension behavior and named-parameter resolution bound to reference type rather than instance.
AI-written summary · about
chapters (9)
- 0:00Start
- 7:26Sneaky Return Puzzler
- 8:18Infinite Loop
- 14:32One-Child Policy
- 17:45Two Lambdas
- 22:25Backing Field
- 23:51Operator Overriding
- 24:03Overwrite Operators
- 36:09Weird Chaining








