← All posts
Engineering·May 30, 2024·6 min read

TypeScript everywhere: the quiet standardization

Types have gone from a debate to a default. The interesting question now is how to use them well, not whether to use them.

DODavid Okonkwo

The argument about whether to adopt TypeScript is effectively over. New projects reach for it by default, and the ecosystem has followed — libraries ship types, frameworks assume them, and editors are built around them.

The value was never about catching typos. It is about encoding intent: a well-typed API is documentation that cannot go stale, and a refactor across a large codebase becomes a conversation with the compiler rather than an act of faith.

The failure mode is overreach. Teams that model every conceivable state in the type system produce signatures no one can read. The craft is knowing when a precise type clarifies and when it just obscures — types serve the reader, not the author's cleverness.

Used with restraint, types are the cheapest quality investment available: a permanent safety net that pays out on every change for the life of the project.