~/talk

The Dangerous side of Kotlin

Talkat jLove 2020 · 2020-12-04..12-05· [kotlin]
links:none on file
slides:none on file

Kotlin features deliver real power but also concrete hazards: extension functions produce three different asUrl extensions in one codebase, scattering behavior and breaking encapsulation; operator overloading was used to model stock valuation (weeks of work) where a × b actually performs complex, non‑commutative enrichment and confuses new engineers; an attempted money inline class solves representation but exposes when operators are appropriate; a Pub/Sub emulator setup built with lambdas‑with‑receiver compacts code but hides scope and forces IDE dependence. Numbers: a 700‑engineer backend, 10M customers, hundreds of thousands of daily packages.

AI-written summary · about

  1. 0:00Introduction
  2. 4:03Kotlin as dangerous tool
  3. 9:07Extension functions risks
  4. 15:26Operator overloading dangers
  5. 22:07Lambdas with receiver pitfalls
  6. 27:32Right tool for the job
~/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.