~/talk

Kotlin Puzzlers

Talkat KotlinConf 2017 · 2017-11-02..11-03· [kotlin]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 7:26Sneaky Return Puzzler
  3. 8:18Infinite Loop
  4. 14:32One-Child Policy
  5. 17:45Two Lambdas
  6. 22:25Backing Field
  7. 23:51Operator Overriding
  8. 24:03Overwrite Operators
  9. 36:09Weird Chaining
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.