~/talk

Tests are greater than types

Talkat Assert(js) 2019 · on Thursday, 2019-09-12· [testing]
slides:none on file

Claim: when deadlines are tight, writing tests yields more immediate return than adopting TypeScript because tests catch runtime regressions that types miss. Examples: TypeScript introduces a build step, hundreds or thousands of upstream bugs, and wrong runtime behavior when types disappear from published JS (5 + "4" becoming "54"). Workarounds include adding runtime checks, linter changes, and comment hacks. Recommendation centers on write real tests and linters and avoid adding a transpiled type layer unless the team can pay the ongoing cost.

AI-written summary · about

  1. 0:00Intro
  2. 1:06Types are great
  3. 2:50Why not both
  4. 3:51Drawbacks of types
  5. 4:56Typescript
  6. 6:10HTTP2 sessions
  7. 7:07Public API
  8. 8:04Hidden Costs
  9. 9:25Conclusion
~/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.