~/talk

Fearless Refactoring in Elm

Talkat JSDay 2019 · 2019-05-08..05-09· [javascript]
name:Ju Liu
slides:none on file

Strongly typed Elm code plus the Elm compiler actually prevents whole classes of runtime errors, uses Maybe/Just pattern matching and custom union types to force exhaustiveness, and rejects debug-only crashes from making it into production. The demo refactors hundreds of lines, recompiles in seconds, and a real product called self reviews compiles and runs after the change. A surprising claim: JavaScript apps saw roughly 60,000 distinct production error types versus Elm’s far smaller surface.

AI-written summary · about

  1. 0:00Start
  2. 7:03What is Elm
  3. 12:15Currying
  4. 13:06Function Signatures, Pt III
  5. 35:57Elm in production
~/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.