~/talk

The story of when assumption met a magic hat

Talkat JSConf EU 2012 · 2012-10-06..10-07· [javascript]
slides:none on file

Argues that a small, enforced subset of JavaScript makes code easier to reason about and fails fast on bad assumptions, using inline assert checks and a translation-based use restrict mode that replaces operators with checked helpers (dunder_add, dunder_div). Demonstrates a source-rewriter called JSShaper, runs it against real projects, reports only a handful of required fixes and a caught bug, and shows NaN and string/number confusion turn into immediate, actionable exceptions.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Correct code
  3. 1:50Coding mistakes
  4. 3:49Assumptions and reality
  5. 10:53assert
  6. 14:42benefits
  7. 16:28assumption jammers
  8. 20:05the plus case
~/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.