~/talk

Why JavaScript Programmers Should Learn Algebraic Data Types

Talkat LambdaConf 2018 · 2018-06-03..06-05· [javascript]
links:none on file
slides:none on file

Claims concrete payoff: algebraic data types replace ad hoc checks and tiny libraries with composable containers implemented in plain JavaScript, demonstrated with Box/Maybe/Either/Task types (classes with map chain fork ap), a lazy Task that composes async where promises fail, an xhrResult type for per-item loading/error states and a Flux-like store built with RxJS that fetches 30 users in batches of five. Code runs live in slides and examples, showing fold/concat-based reduction, reuse of pipelines, and practical next steps.

AI-written summary · about

  1. 0:00Start
  2. 0:16Why Javascript Programmers Should Learn Algebraic Data Types
  3. 3:48Javascript Lends Itself to Functional Style Programming
  4. 7:45Category Theory
  5. 16:13Algebraic Data Types
  6. 31:45Tasks
  7. 33:14Parallel Execution
  8. 36:09Rxjs
  9. 40:26Fold Function
  10. 49:12Xhr Result
  11. 53:45Summary
~/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.