~/talk

Hitchhiker's Guide to Functional Programming

Talkat Voxxed Days Singapore 2018 · on Friday, 2018-06-01· [functional-programming, java]
links:none on file
slides:none on file

Starts from an imperative Java loop that computes the sum of squares of even numbers (result 220) and refactors it into small pure functions, showing iterate/filter/square/sum as separate composable expressions, then replaces loops with recursion and lifts patterns into higher-order combinators like flatMap/fold/map implemented with Java 8 lambdas. Demonstrates that Java 8 Streams reproduce the same pipeline, explains improved testability (no mocks), and warns about recursion/tail-call limits in JVM while recommending library-backed immutable structures for performance.

AI-written summary · about

  1. 0:00Start
  2. 3:30The Challenge
  3. 31:46flatMap as fold
  4. 35:03Beware Recursion
  5. 40:46On Performance
  6. 42:53On Testing...
~/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.