~/talk

Kotlin Not-to-Do List - What we should avoid doing in Kotlin

Talkat droidCon Berlin 2019 · 2019-07-01..07-03· [kotlin]
slides:none on file

Kotlin code warns against hiding important details: declare public API types instead of relying on type inference (author once had to read bytecode to find a type), eliminate platform types to avoid mysterious NPEs that can propagate from Java. Avoid implicit multiple receivers and member extensions, prefer explicit receivers. Favor clear if/when over dense safe-call+Elvis chains, never use nullable Unit or operator overloading for unclear semantics, keep visibility minimal, implement equals/hashCode consistently (returning constant hash leads to millions of extra comparisons).

AI-written summary · about

  1. 0:00Introduction to Kotlin not-to-do list
  2. 1:17Hiding too much in Kotlin
  3. 12:00Shortcuts over readability
  4. 21:31Disrespecting contracts in Kotlin
  5. 39:42Function types vs interfaces
  6. 41:03Summary of Kotlin sins
~/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.