~/talk

Functional Programming In Java 22 - Understanding the Building Blocks of FP

Talkat Java Day Istanbul 2024 · on Saturday, 2024-05-11· [functional-programming, java]
slides:none on file

Explains which Java 22 features actually change FP practice: Java 22 unnamed patterns with Sealed Interfaces and Records enable exhaustive pattern matching and destructuring; the decade‑old Streams and java.util.function remain the main toolbox but lack lazy evaluation, stronger type inference and native monads. Shows a working, increasingly unreadable implementation of Pirates Liar’s Dice that uses a simulated Either monad and heavy composition, measures where composition, currying and pattern matching help, and documents where verbosity, weaker inference and side‑effect handling break down.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:56Java’s functional evolution
  3. 8:52Algebraic data types in Java
  4. 17:11What is functional programming?
  5. 23:00Pure functions and referential transparency
  6. 24:03Currying and higher-order functions
  7. 30:13Morphism and data transformations
  8. 34:51State and side effects in FP
  9. 38:05Building a functional game
  10. 40:35Challenges of pure FP in Java
  11. 42:20Practical takeaways and conclusion
~/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.