~/talk

Kotlin: lazy language for lazy people

Talkat Voxxed Days Ticino 2018 · on Saturday, 2018-10-20· [kotlin]
slides:none on file

Explains concrete Kotlin features: property delegates and by lazy versus the thread-safe lazy() overload, lateinit and Delegates.notNull tradeoffs, Java streams versus reusable Kotlin generateSequence and buildSequence behavior, and how buildSequence uses coroutines to yield values. Refactors a prefix trie to return a lazy iterator so requesting the first two matches only evaluates those nodes, changed three lines of code, fixed a prior eager run that did 660,142 iterations and crashed.

AI-written summary · about

  1. 0:00Start
  2. 2:25Lazy evaluation
  3. 2:52Kotlin loves lazy people
  4. 5:47Lazy initialization (use delegation)
  5. 9:55Use Case - Logging
  6. 10:56Java Spring example
  7. 11:11Kotlin Spring example
  8. 17:25Lazy Collections operations
  9. 25:36Lazy with Coroutines
  10. 28:46How it works?
  11. 31:57DEMO LINK
  12. 34:05Laziness benefits
  13. 34:28Laziness drawbacks
~/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.