~/talk

Functional programming: Give it a chance!

Talkat VinnytsiaJS 2018 · on Saturday, 2018-07-21· [javascript, functional-programming]
links:none on file
slides:none on file

Explains concrete FP patterns and tools: pure functions for easier testing and referential transparency, higher‑order functions and currying with an ES6 example used to build configurable helpers like a reusable limit function, and chained transforms (map) over arrays. Shows using Ramda and lodash utilities, Immutable.js or Object.freeze plus structural sharing to avoid costly copies, and models error‑safe access with a Maybe monad (wrap user → account → address → province → pick banner). Notes Promise semantics, Fantasy Land spec, a steep mindset shift and tradeoffs with I/O and adoption.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Programming paradigms
  3. 3:54Imperative vs declarative
  4. 6:22Why functional programming
  5. 8:49Functional rules
  6. 10:12Pure functions benefits
  7. 14:44Higher-order functions
  8. 15:44Immutable state in JS
  9. 19:56Currying and uses
  10. 23:34Currying with multiple params
  11. 27:26Functors and monads
  12. 30:21Monads with Promise
  13. 32:50Maybe monad in code
  14. 37:07FP learning resources
  15. 38:32Balancing FP
~/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.