~/talk

Railway Oriented TypeScript

Talkat WebExpo 2022 · 2022-06-10..06-12· [typescript]
slides:none on file

Claim: apply railway-oriented programming to TypeScript by turning ordinary functions into a two-track Result (success/failure), writing a chain combinator and using a fpts library to compose validators, DB updates and logging. Live-coded examples return typed Result objects, the type system enforces exhaustive handling and catches miscompositions, and the talk contrasts this with Promises which cannot distinguish domain errors from panics.

AI-written summary · about

  1. 0:00Start
  2. 4:47Minimap Font
  3. 9:38Unions
  4. 10:43Strings and Numbers
  5. 18:08Return Type
~/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.