Idio~~ma~~tic Kotlin
summary
Shows concrete Kotlin misuses and what actually happens: using unary minus on strings to trigger side effects (works), writing literal strings that the compiler optimizes away (doesn’t run), abusing nothing-as-bottom-type throw/return spam to compile puzzling no-ops, defining backticked identifiers and infix functions for emoji/random and a faux ternary that evaluates both branches unless wrapped in lambdas, creating collection literals via get on an object, destructuring parameters changing lambda types, and using typealias retrofit→spring which maps cleanly at bytecode.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:27Misusing operations
- 5:26Factorial syntax hacks
- 8:14Random number tricks
- 11:03Code spam for job security
- 19:33Missing language features
- 25:02JavaScript type system
- 31:27Verbose idiomatic Kotlin
- 33:35Puzzler corner cases
- 39:16Stack Overflow mystery
- 43:34Sources and wrap-up








