~/talk

A Skeptic's Guide to Functional Style Javascript

Talkat NDC London 2019 · 2019-01-30..02-01· [javascript]
links:none on file
slides:none on file

Argues that functional style in JavaScript is practical not purity dogma: prefer small composable units, name functions, and use array methods instead of manual loops so code becomes easier to reason about and test. Demonstrates replacing for loops with map/reduce/filter and using closures and currying for event handlers. Calls out that side effects and mutability still happen and that promises act like monads. Recommends tooling to help: Ramda and Immutable.js for common helpers and safer immutable data.

AI-written summary · about

  1. 0:00Start
  2. 0:10#functionalStyleJS SKEPTICS GUIDE TO FUNCTIONAL STYLE JAVASCRIP
  3. 3:23What is Functional Programming?
  4. 4:18that treats computation as the evaluation of mathematical functions
  5. 8:54Side effects are evil!
  6. 15:09Let's look at arrays
  7. 17:58What are we doing?
  8. 18:24We need a pure function
  9. 20:25Why pure functions?
  10. 25:17Why Immutability?
  11. 28:36Chain functions FTW
  12. 33:36Currying
  13. 44:35It is the tooling that does the work...
  14. 45:02Simplify the pieces
  15. 45:50Keep the interactions simple
~/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.