~/talk

Pure Kotlin - Beautiful World Without Loops & Variables

Talkat Devoxx Poland 2021 · 2021-08-25..08-27· [kotlin, functional-programming]
slides:none on file

Shows how Kotlin expresses Haskell-style techniques: immutable data classes with copy, persistent lists (vavr), and replacing loops/vars with folds so compilation catches new variants instead of silent bugs. Builds an IO-like lazy wrapper (pancakes / nalewshnik) and a simple transaction monad to sequence side effects, demonstrates Arrow FX and Ktor examples, and adds a Detekt plugin plus baseline to ban vars/returns and enforce pure code rules. Claims fewer production surprises and easier reasoning with IO/monad and Detekt plugin enforcement.

AI-written summary · about

  1. 0:00The quest for better code
  2. 2:08Defining functional programming
  3. 4:20Deterministic and total functions
  4. 6:41Referential transparency and purity
  5. 9:16Composability in functional code
  6. 10:25Kotlin features for FP
  7. 13:00Immutability and data structures
  8. 16:01Guava for business logic
  9. 17:27Type inference and safety
  10. 21:01Expressions and pattern matching
  11. 25:21Side effects in functional style
  12. 29:19Handling side effects with IO monad
  13. 32:00Functional programming in frameworks
  14. 36:40Enforcing purity with tools
  15. 39:05Evolution of programming tools
  16. 44:11Final thoughts on functional adopt
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.