~/talk

TypeScript and how I've learned to love the compiler

Talkat Shift Dev 2019 · 2019-05-30..05-31· [typescript]
slides:none on file

Slack’s desktop codebase moves from plain JS to TypeScript with the TSC compiler and the TypeScript language server, converting roughly 10,000 JavaScript files and finishing organically in about half a year. The compiler finds subtle bugs (misspelled methods, wrong promise shapes) before runtime, preserves plain JS output with no runtime overhead, improves editor autocomplete and npm interop, and reduces crashes when interfacing with native C++. Tradeoff: stronger typing speeds confidence but increases onboarding cost for untyped JavaScript hires.

AI-written summary · about

  1. 0:00Start
  2. 1:35Why Typescript
  3. 3:54Documentation
  4. 12:44Watch Mode
~/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.