~/talk

A Story About Types and JavaScript

Talkat JSHeroes 2017 · on Thursday, 2017-06-08· [typescript, javascript]
slides:none on file

Claim: adding static types cuts runtime surprises, documents intent and lets compilers catch errors early. Examples: TypeScript (a superset with its own compiler) and Flow (static checker) both land in real codebases — Slack and others migrate — and FreeCodeCamp tops GitHub with ~300,000 stars showing JavaScript scale. A runtime tool, Flow runtime, inserts assertions that throw on mismatches. Elm compiles into code with no runtime errors. Recommendation: adopt types incrementally for large projects; they work and they scale.

AI-written summary · about

  1. 0:00Start
  2. 3:44Free Code Camp
  3. 9:20Coffeescript
  4. 9:54Google Web Toolkit
  5. 12:12Flow
  6. 12:40Typescript
  7. 15:02Slack Switching to Typescript
  8. 17:21Elm
  9. 19:36Would You Recommend Adding Types to an Existing Code Base Which Is Rather Large
~/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.