~/talk

Idio~~ma~~tic Kotlin

Talkat droidcon London 2019 · 2019-10-24..10-25· [android, kotlin]
slides:none on file

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

  1. 0:00Introduction
  2. 1:27Misusing operations
  3. 5:26Factorial syntax hacks
  4. 8:14Random number tricks
  5. 11:03Code spam for job security
  6. 19:33Missing language features
  7. 25:02JavaScript type system
  8. 31:27Verbose idiomatic Kotlin
  9. 33:35Puzzler corner cases
  10. 39:16Stack Overflow mystery
  11. 43:34Sources and wrap-up
~/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.