~/talk

Advanced Kotlin

Talkat Oredev 2017 · 2017-11-08..11-10· [kotlin]
slides:none on file

Kotlin type details and code examples show exactly what matters: nothing represents non‑returning functions, unit is a printable singleton usable in generics, and platform types crash if misassumed unless Java is annotated or the return is explicitly typed. Generics demo explains declaration vs use‑site variance (out/in), star‑projections and type erasure pitfalls that make casts silently succeed, and decompiled examples prove that inline literally injects lambda code into the call site, improving lambda performance but risking code bloat.

AI-written summary · about

  1. 0:00Start
  2. 0:30The Kotlin Type System
  3. 0:42Type System
  4. 2:36Null Safety
  5. 7:38Unit
  6. 10:33Platform Types
  7. 15:15Guiding Principles
  8. 16:47Best Practices for Platform Types Annotate Your Java Code
  9. 18:53Recap
  10. 19:05Generics
  11. 20:25What Is Type Erasure
  12. 25:47Invariant Case
  13. 26:22Covariant
  14. 31:41Declaration Site Variants
  15. 32:14Site Variance
  16. 34:10Use Case
  17. 35:02Inlining
~/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.