~/talk

Transaction is a monad.

Talkat Devoxx Ukraine 2020 · 2020-11-05..11-07· [functional-programming, java]
slides:none on file

Claims that a database transaction can be modeled as a monad and practically composed with other effects, shows concrete code patterns in Kotlin and Java: transaction as a Monad implemented as a function that takes a lambda, uses jdbi + lambdas to open/commit/rollback, and composes with Optional/Either via map/flatMap to remove null checks and exceptions. Demonstrates a working REST setup without runtime bytecode magic (javalin example), and a homegrown research framework knee experimental effect that combines security, cache and transaction handling.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 2:12Why functional programming matters
  3. 10:49Learning to avoid mutations
  4. 16:46Runtime magic pitfalls
  5. 24:54What is a monad?
  6. 31:14Monad theory deep dive
  7. 34:30Transactions as monads
  8. 42:54Conclusion and takeaways
~/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.