Ask HN: Why don't we introduce static types in EcmaScript? 2 points by dhandalanawaz 7y ago ↗ HN It'll make very little sense to use TypeScript / other projects like Flow if this was the case and this would make JavaScript a LOT faster.
[–] vtesucks 7y ago ↗ An alternate way of asking the same question- why don't we have typescript runtime in browser.The answer is political. Microsoft can't create it in edge because they would be blamed for trying to fragment the web. Everybody else has no reason to. [–] cimmanom 7y ago ↗ Why would Microsoft have more reason than Google, Mozilla, or Apple?
2 comments
[ 1.5 ms ] story [ 22.1 ms ] threadThe answer is political. Microsoft can't create it in edge because they would be blamed for trying to fragment the web. Everybody else has no reason to.