~/talk

Kotlin & Functional Programming: pick the best, skip the rest

Talkat KotlinConf 2023 · 2023-04-12..04-14· Granbeurszaal· [kotlin]
name:Urs Peter
links:none on file
slides:none on file

Argues that specific FP choices matter: Kotlin scope functions tame mutable APIs, Result and Either model errors but Either suits domain-level error handling, and blind use of monads turns code into a “container terminal.” Demonstrates Arrow (effects, monad comprehensions, optics) and Kotlin features (context receivers, bind) and shows they actually simplify flatMap nesting and nullable plumbing. Recommends selective use (avoid wrapping DB layers, prefer Either for recoverable errors); the Arrow rewrite is presented as a working bridge.

AI-written summary · about

  1. 0:00Introduction
  2. 2:30Programming Styles
  3. 6:40Scope Functions
  4. 8:50Higher Functions
  5. 11:35Composable Functions
  6. 13:05Category Theory
  7. 15:25Containers
  8. 16:45Building Blocks
  9. 20:20Monets
  10. 29:00Monet comprehension
  11. 31:44Maintenance headache
  12. 34:21Solution
~/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.