TypeScript is Documentation

1 min read
  • #typescript
  • #dx
  • #software

The best argument for TypeScript isn’t catching bugs at compile time — it’s that types are self-updating documentation that lives next to the code.

Comments drift. Types don’t (or at least, they fail loudly when they do).