~/talk

The Road to Kotlintown

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [kotlin]
slides:none on file

Automatic Java→Kotlin conversion compiles but leaves concrete fixes: remove redundant public, prefer primary-constructor properties instead of separate fields, use lateinit for Android lifecycle-bound views, and replace unsafe !! unwraps with safe-call ?. Examples use Dagger, Retrofit, Butter Knife and Rx; expect fixes for visibility, platform-typed Android signatures, companion-object static quirks (const / @JvmStatic / @JvmField), lambda trailing syntax and array vs IntArray choices. The talk shows code edited live, what changed and why, and which edits actually prevent NPEs or bytecode surprises.

AI-written summary · about

  1. 0:00Introduction
  2. 2:30Visibility modifiers
  3. 5:45Primary constructor
  4. 7:08Secondary constructor
  5. 9:25Scope
  6. 13:41Questionmarks
  7. 16:39Null
  8. 19:41Handling Nulls
  9. 24:14lambdas
  10. 32:04Companion object
  11. 36:19Anonymous inner classes
  12. 38:21Type inference
  13. 39:54Arrays
  14. 43:04Null Safety Operator
~/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.