~/talk

A Skeptics guide to functional style javascript

Talkat UtahJS Conf 2017 · on Wednesday, 2017-09-27· [javascript, functional-programming]
links:none on file
slides:none on file

Argues that using small, pure-ish functions and array methods yields clearer, better-structured code and fewer bugs while admitting JavaScript can’t enforce purity or immutability. Shows concrete patterns: replace loops with map/filter/reduce chains, curry event handlers to capture indices, treat promises like monads, and compose functions so map then reduce produces the same numeric result in one line. Recommends Immutable.js for real immutability and makes the blunt claim never write a for loop again.

AI-written summary · about

  1. 0:00Introduction and audience check
  2. 4:24What is functional programming?
  3. 9:26Three rules of functional style
  4. 12:16Arrays and functional iteration
  5. 16:11Pure functions explained
  6. 20:49Functional array operations
  7. 24:22Filtering and finding data
  8. 27:14Chaining and reducing arrays
  9. 29:00Higher-order functions
  10. 32:36Understanding monads
  11. 38:21Monads in JavaScript
  12. 39:02Tooling and mindset shift
  13. 41:11Q&A session
~/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.