I disagree. Typescript is an excellent example of an optional static type system that works great. It has none of the 3 problems the OP describes: it's fast, it nicely encompasses the whole language and the Definitely Typed repository includes a TON of 3rd party library type definitions.
softawre|10 years ago
We have a medium sized Typescript app (~100k lines), and it takes 7-10 seconds to transpile to JS.
Whenever a change is made, that is 7-10 seconds the watch command is running and I'm not testing my changes in the webapp.
In fact, a slow running grunt watch is why I'm on HN right now in the first place.
fernandezpablo|10 years ago
pjmlp|10 years ago
Compared with C and C++ build times which are measured in minutes or even hours, 10s is nothing.
maineldc|10 years ago
spion|10 years ago
[1]: http://linux.die.net/man/1/watch
carterehsmith|10 years ago
Wait, is that 7-10 sec with "tsc --watch"? Or like, the whole shebang for the production build?
rattray|10 years ago
masterj|10 years ago
rtpg|10 years ago
I think TypeScript is an extremely impressive tool, and a great example of considering the current environment when designing. The type system can effectively capture pretty much all API designs that see use.
smrtinsert|10 years ago