~/talk

Kotlin 102 - Beyond the basics

Talkat Devoxx US 2017 · 2017-03-21..03-23· [kotlin]
slides:none on file

Covers concrete Kotlin features and how to use them: reified generics via inline functions to avoid JVM type erasure, declaration-site variance (out/in) versus Java use-site wildcards, and the difference between List and MutableList. Shows lambdas with receivers used to build DSLs (Kotlin HTML, TornadoFX), property delegation including lazy, observable and vetoable, and typealias as simple aliases. Demonstrates kotlinx.coroutines with suspend, runBlocking, launch and async, including 100,000 coroutines succeeding where 100,000 threads fail, and explains non‑local returns and labeled returns.

AI-written summary · about

  1. 0:00Intro
  2. 3:00Higherorder functions
  3. 4:22Extension functions
  4. 6:05Invoke operator
  5. 6:40lambda with receiver
  6. 7:38lambda expression
  7. 10:10HTML builders
  8. 11:38Inlining
  9. 14:48Returns
  10. 19:47Type erasure
  11. 21:32Delegation
  12. 25:33Type aliases
  13. 28:10Variance and Covariance
  14. 30:55Variance and Contravariance
  15. 32:21Coroutines
  16. 35:48Runblocking
~/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.