~/talk

Mo’Problems, Mo’Nads

Talkat CityJS Conference 2020 · 2020-09-02..09-04· [javascript]
slides:none on file

Code uses the moneo library to wrap real examples: maybe monad for safe property access and regex fallback, either for safeJSON parsing → save-to-db flow, and an io monad that composes lazy side effects and runs them with .run or generator do/yield syntax. Shows map/chain/fold/concat semantics, short‑circuiting on failures, and that moneo’s IO transparently transforms Promises so async operations compose predictably instead of nesting try/catch spaghetti.

AI-written summary · about

  1. 0:00Introduction to Monads
  2. 0:54The right tool for the job
  3. 2:36Intuition over theory
  4. 5:07Types and values
  5. 7:05Monad rules and implementation
  6. 9:10Laws in action
  7. 10:58Monads and friends
  8. 12:45Why monads matter
  9. 14:55The maybe monad
  10. 17:38Imperative vs functional
  11. 21:15Safe property access
  12. 24:06Handling exceptions
  13. 27:17Managing side effects
  14. 31:15Do syntax and async
  15. 33:40Summary and takeaways
  16. 35:14Q&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.