~/talk

Maintainable JavaScript with Functional Patterns

slides:none on file

Argues that swapping mutation-heavy for‑loops for map filter reduce and the spread operator yields smaller, testable functions, shows immutability with const and copying via spread, demonstrates turning nested loops into a compose via reduce pipeline, and uses reduce to build objects instead of mutating accumulators. Recommends adopting TypeScript for safer refactors and exploring FPTS for functional helpers, and notes incremental refactoring is practical — no full rewrite required.

AI-written summary · about

  1. 0:00Introduction
  2. 0:37Welcome
  3. 0:51Who am I
  4. 2:20What we want in programming
  5. 4:32Why is JavaScript so hard to maintain
  6. 6:50Functional JavaScript
  7. 7:14Functional Programming Concepts
  8. 8:51Purity
  9. 10:21Line Function
  10. 12:08Accumulation Function
  11. 13:20Cognitive Load
  12. 15:35Immutability
  13. 17:02Const
  14. 18:21Copying
  15. 20:41Functions
  16. 23:09Function Signatures
  17. 27:06Function Composition
  18. 33:20Conditional Push
  19. 37:01Filter
  20. 38:19initialize iterate accumulate
  21. 41:57reduce
  22. 48:33function as values
  23. 51:13summary
~/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.