~/talk

Typed JavaScript? For real? The “type annotations” proposal and what it’s all about

Talkat JSConf Budapest 2022 · 2022-06-02..06-03· [javascript]
slides:none on file

A TC39 Stage 1 proposal reserves explicit syntax spots so type annotations become legal JS, with the key claim that types are ignored at runtime (runtime treats them like comments) while third‑party checkers consume them; parsing uses balanced delimiters to skip annotations, and GitHub stats showing heavy TypeScript usage motivate the change. The talk lists concrete tradeoffs (tooling simplification, payload and beginner concerns), open problems (imports, overloads, enums excluded) and community pushback.

AI-written summary · about

  1. 0:00Start
  2. 0:40What Are the Three Biggest Trends in Javascript for the Last 10 Years
  3. 0:53Three Biggest Trends in Javascript Development
  4. 1:22Proposal for Enhancing Javascript
  5. 3:59What Is Tc39
  6. 8:28The Type Annotation Syntax Space
  7. 9:37Why Add Type Annotations if They'Re Going To Be Ignored
  8. 10:02Summary
  9. 13:12State of Javascript Static Typing in 2020
  10. 13:47Why Not To Add Types to Javascript
  11. 14:07Types Are Difficult for Beginners To Grasp
  12. 21:08Why Not Fully Embrace Type Syntax
  13. 22:13Why Not Build a Type System
  14. 25:04How Does Javascript Know To Ignore the Types
  15. 27:01Generics
  16. 28:33Function Overloads
~/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.