~/talk

Advanced Kotlin

Talkat droidcon San Francisco 2018 · 2018-11-19..11-20· [kotlin]
links:none on file

Covers concrete Kotlin features and what they do: the standard library’s four delegates — observable, vetoable, notNull — plus how to build a SharedPreferences delegate that reads/writes by type and works in practice; infix functions like two/downTo and a DSL-style seven of diamonds example; the where keyword for multi-bounds; exactly nine use-site targets and where annotations end up in decompiled Java; tailrec turns a recursive factorial into a loop in bytecode; KClass/java reflection and lambdas-with-receiver used to build a tiny HTML DSL.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 2:44Custom delegates in Kotlin
  3. 10:47Infix functions explained
  4. 14:45Where keyword for generics
  5. 17:12Annotation use-site targets
  6. 22:29Tail recursion in Kotlin
  7. 27:45Covariance and contravariance
  8. 33:03Kotlin reflection basics
  9. 37:41Building DSLs with Kotlin
  10. 42:58Further learning resources
~/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.