~/talk

A Skeptics guide to functional style javascript

Talkat NDC Minnesota 2019 · 2019-05-06..05-09· [javascript]
links:none on file
slides:none on file

Argues JavaScript is not purely functional but shows concrete, practical techniques: use map/reduce/filter instead of manual for-loops to avoid mutable state and enable chaining; write small named pure functions (e.g., addOne) for readability and reuse; use currying for event handlers to capture an index via closure instead of looping; demonstrates a simple identity monad via bind and points out Promises behave like monads; warns immutability isn’t enforced in JS so these patterns are style choices that make code easier to reason about and test.

AI-written summary · about

  1. 0:00Intro
  2. 4:27Functional programming
  3. 8:51Functional style JavaScript
  4. 11:55The tooling
  5. 13:34Europe at night
  6. 14:59Looking at some code
  7. 17:45Simplifying the code
  8. 19:06Pure functions
  9. 21:59Less complexity
  10. 26:15Immutable
  11. 30:44Chaining
  12. 34:31Currying
  13. 38:48Monads
  14. 41:33Identity Monad
~/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.