~/talk

Everything You Always Wanted to Know About Functional Programming...

TalkinFrenchat ScalaIO 2018 · 2018-10-29..10-31· [machine-learning]
slides:none on file

A live-coding session refactors an imperative JavaScript movie-search into a pipeline of pure functions using currying, partial application, and closures. The demo shows concrete steps—extracting predicates, closing over movie values, switching push to concat and using collection.filter, rewriting with arrow syntax, and isolating side effects by returning effectful functions—then reproduces the same code in Haskell.

AI-written summary · about

  1. 0:00Functional programming
  2. 1:28Movie search problem
  3. 2:37Imperative to procedural
  4. 5:05Side effects and risks
  5. 7:16Limiting side effects
  6. 8:43Detecting side effects
  7. 11:28FP principles
  8. 13:17First-class functions
  9. 15:06Closures in FP
  10. 18:29Side effects at edges
  11. 21:36Push vs concat
  12. 24:02Currying benefits
  13. 27:27Partial application
  14. 31:05Filter in FP
  15. 34:45Declarative FP power
  16. 35:30Haskell proof
  17. 39:37Choosing an FP language
  18. 41:45Q&A
~/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.