Static typing enables some optimizations, but not as many as we’d hope given the inexpressiveness of most type systems.
The real advantage of static typing is code completion, which allows us to forget the nuances of our library naming schemes. TypeScript is so awesome in this regard, being neither sound nor used for optimizations, but still being very useful.
Comments
Static typing enables some optimizations, but not as many as we’d hope given the inexpressiveness of most type systems.
The real advantage of static typing is code completion, which allows us to forget the nuances of our library naming schemes. TypeScript is so awesome in this regard, being neither sound nor used for optimizations, but still being very useful.