~/talk

Static types in JavaScript: what, how and why

Talkat JSConf EU 2013 · 2013-09-14..09-15· [typescript, javascript]
slides:none on file

Shows concrete examples of how JSDoc annotations stop real bugs, with a live use of Google Closure Compiler warnings and WebStorm's refactor- and completion-driven checks. Demonstrates generating and using TypeScript declaration stubs (DefinitelyTyped) to get accurate completions in plain JavaScript, explains typedef/enum/interface tags, and shows when adding types pays off versus when to leave code unannotated. Practical demos and actual error messages appear rather than theory.

AI-written summary · about

  1. 0:00Start
  2. 10:07Additional Checks Can Be Performed by Webstorm
  3. 11:56Interfaces
  4. 15:35Code Completion
  5. 18:17Quick Fixes
  6. 21:46Questions
  7. 22:08Postal Code as a Type
~/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.