~/talk

Mo' Problems, Mo 'Nads

Talkat CascadiaJS 2020 · 2020-09-01..09-02· [javascript, functional-programming]
slides:none on file

Covers how concrete monad values solve three common problems with runnable examples: Maybe (Just/Nothing) for value selection shows replacing null checks and nested ternaries with maybe.from, map and fold (regex mime parsing example); Either (Left/Right) for graceful errors shows a safe helper that wraps parse/save into chained either values instead of nested try/catch; IO with .run plus do/generator syntax wraps lazy side effects and promises (playlist concat, yield weight → IO of a promise) using the moneo library.

AI-written summary · about

  1. 0:00Intro
  2. 1:28Regular Expressions
  3. 1:48Regular Expressions get a bad rap
  4. 2:00The right tool the right task
  5. 2:49The rubiks cube
  6. 3:55Functional programming police
  7. 4:50Types vs Values
  8. 7:31Just MoNads
  9. 8:37Friends of MoNads
  10. 9:10Why MoNads
  11. 9:27Why MoNads are useful
  12. 11:53Example
  13. 15:04MoNad
  14. 16:11MoNad Code
  15. 21:34Yield
  16. 22:25Yield Weight
  17. 23:55Summary
  18. 25:41Pitching MoNads
  19. 26:02Functional Principles
  20. 28:07Unit Testing
  21. 28:22Quality Assurance
  22. 28:42Does MoNads make sense
  23. 28:57A compromise to be struck
  24. 30:26More readable than you think
  25. 30:49Familiarity
  26. 32:50Outro
~/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.