~/talk

Programming Safely in an Uncertain World

Talkat ReactiveConf 2018 · 2018-10-29..10-31· [javascript, developer-experience]
slides:none on file

Claims that algebraic data types let code collapse multiple failure modes into a single result and avoid exceptions, demonstrated with Maybe type and composition via map/chain (flatMap). Uses Sanctuary and sanctuary-def inside the node Ripple REPL to parse JSON, validate X/Y/Z as an array of strings, map safe hex parsing, use sequence to turn maybes into a single maybe and sum the results. Constructs a pipeline that handles about seven failure cases and returns Just [1,2,3] (then the sum).

AI-written summary · about

  1. 0:00Intro
  2. 10:25FlatMap
  3. 14:38PauseJason
  4. 18:07False Sequence
  5. 25:40Node Ripple
  6. 26:07Syntax Error
  7. 26:35Sanctuary vs RamDes
  8. 27:27Promises
~/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.