~/talk

ReasonML Predictable Frontend Programming

Talkat LambdaConf 2019 · 2019-06-05..06-07· [frontend-architecture]
links:none on file
slides:none on file

Compares ReasonML, JavaScript and TypeScript by showing concrete behaviors: type inference that deduces int usage from +, option/pattern matching that forces handling of none versus some, and how undefined/null differ from an option. Builds a working React app compiled with the BuckleScript compiler, formats with refmt, and uses the useReducer hook and dispatch actions for suggestion/reset/answer. Live demo compiles to JS, the app runs, and the examples reveal what actually changes versus just promising “examples.”

AI-written summary · about

  1. 0:00Start
  2. 1:14How I Got into Reason
  3. 6:34Runtime Static Typing
  4. 7:16Type Inference
  5. 9:56Null and Undefined
  6. 12:43Pattern Matching
  7. 14:57Start Script
  8. 16:04Create a React Component
  9. 24:25Initial State
  10. 26:08Generate a Random Game
  11. 34:32Actions
  12. 37:48Reset
~/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.