~/talk

Treat the Compiler with Compassion

Talkat WhatTheStack 2025 · on Saturday, 2025-09-20· [typescript, compilers-and-language-design]
github:sodic
slides:none on file

Explains why TypeScript deliberately sacrifices guarantees: the type system is not sound (refinements can be invalidated across function calls, so a null can slip through), not complete (inference avoids complex cross‑assignment reasoning so mutable “data” can be flagged), and undecidable in edge cases. Shows concrete examples (nullable capital, object.keys producing string[]), lists practical levers: strict mode, TypeScript‑ESLint no‑unsafe rules, and libraries like ts-reset/DS‑reset to push the safety dial.

AI-written summary · about

  1. 0:00Introduction
  2. 1:34Why TypeScript frustrates us
  3. 4:04What we want from TypeScript
  4. 6:12Soundness completeness decidability
  5. 10:06Why TypeScript isn’t sound
  6. 17:50Practicality vs correctness
  7. 20:38Why TypeScript isn’t complete
  8. 24:14Trade-offs and compiler love
  9. 27:28Summary and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.