~/talk

Treasure.map(): Functional Programming in Kotlin

Talkat droidcon Italy 2022 · 2022-10-06..10-07· [kotlin, machine-learning]
links:none on file
slides:none on file

Concrete Kotlin and Java code demonstrates using Either with Arrow to replace try/catch, shows flatMap chains for DB calls and how monad comprehension keeps error handling linear, contrasts that with runCatching hiding OOME, and walks map/filter/fold examples on immutable collections. The talk gives specific tradeoffs: library support, a debugging horror story, performance caveats for immutability, and a step‑by‑step adoption plan rather than academic definitions.

AI-written summary · about

  1. 0:00Start
  2. 5:19What is functional programming?
  3. 6:06Pure functions
  4. 8:46True immutability vs reference immutability?
  5. 11:03Filter
  6. 25:37Conclusions
~/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.