~/talk

Treasure.map(): Functional Programming in JVM-based languages

Talkat Java ON 2022 · 2022-10-17..10-20· [functional-programming, java]
links:none on file
slides:none on file

Walks through concrete FP tools and patterns on the JVM with examples in Kotlin, Java, Scala, Clojure and Groovy, demonstrating Stream API use, flatMap chaining and why list/option/either behave like monads; shows how checked exceptions force ugly Java stream workarounds and how Kotlin + Arrow or Java + Vavr restore composable error handling; compares immutability strategies, fold/map/flatten usage, and cites a production Kotlin fraud-detection project that used Arrow and performed acceptably.

AI-written summary · about

  1. 0:00Start
  2. 12:18What is functional programming?
  3. 12:51Pure functions
  4. 16:32True immutability vs reference immutability?
  5. 26:56Monad comprehensions
  6. 35:26How to handle problems: Scala, Either
  7. 37:56How to handle problems: Clojure
  8. 39:11Conclusions
~/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.