~/talk

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

Talkat 4Developers 2020 · 2020-09-14..09-18· [java]
slides:none on file

Advice: always annotate public signatures with explicit public types so Kotlin inference doesn’t leak concrete implementations; hunt down and eliminate platform types from Java interop to avoid hidden NPEs; avoid overusing scope functions and member extensions that hide receivers — prefer explicit this or labeled receivers; choose readable code over clever, dense Kotlin idioms; keep equals/hashCode symmetric and consistent; never make properties do expensive work — use functions and prefer function types over single-method interfaces.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13Hiding too much in Kotlin
  3. 14:05Choosing short over readable
  4. 23:25Disrespecting contract
  5. 40:36Q&A and closing
~/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.