Kotlin Puzzlers, Vol 3
summary
Kotlin claims to avoid Java puzzlers but the session shows concrete counterexamples: live short programs run in an IDE and the JetBrains quiz reveal surprising behaviors, compiler crashes and platform quirks. Demonstrations use the Kotlin playground and real JVM runs, sometimes failing. Notable specifics include calling toString on null returns "null" via Any? extension, NaN compares unequal to itself and Kotlin fixed JVM behavior, weird progression stepping, a compiler crash on operator overloading, contracts allowing unsafe nulls, and suspend functions appearing to return the wrong type.
AI-written summary · about
chapters (7)
- 0:00Start
- 12:39Fool the Compiler
- 20:41How Do We Fix the Code
- 24:27Verifying
- 36:21Sum with Two Parameters with Default Values
- 41:18Contracts
- 44:51Co-Routines








