~/talk

Getting rid of runtime errors with Elm

Talkat FrontCon 2018 · 2018-06-14..06-15· [frontend-architecture]

Elm claims it catches all runtime exceptions by using a strict static type system, pattern matching and pure functions; examples show partial application, function composition, and the Maybe type eliminating null checks. JSON decoders fail fast if fields are missing, HTTP calls become commands that return messages, and JavaScript interop happens through ports. Comparison to React+Redux highlights immutability, no direct DOM access, smaller curated libraries, missing server-side rendering and bundle-size concerns; one large codebase reports just a single runtime error.

AI-written summary · about

  1. 0:00Start
  2. 1:51PARTIAL APPLICATION IN JAVASCRIPT
  3. 3:58REVERSE AND REPEATA STRING
  4. 4:44FUNCTION COMPOSITION
  5. 5:29MOST BASIC UNION TYPE
  6. 6:22UNION TYPES WITH PAYLOAD
  7. 9:20IMMUTABILITY AND PURE FUNCTIONS
  8. 9:56WHAT COULD GO WRONG HERE?
  9. 12:48WHAT ABOUT SIDE EFFECTS?
  10. 15:53HOW DOES ELM INTEGRATE WITH JAVASCRIPT
~/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.