Hacker News new | ask | show | jobs
by mbf 1729 days ago
Erasable types are good enough with source mapping. TypeScript workflows are fine. ECMAScript really doesn't need to absorb a TypeScript syntax. It's not necessary to keep bloating the runtime with a feature only useful to the developer.
1 comments

If the runtime is going to be fully ignoring these type annotations, what type of "bloat" are you worried about?
New syntax and concepts.
Larger file sizes.
larger downloads, larger syntax
type annotations would get removed during minification, downloads would be the same
now we've gone full circle re-introducing a build chain.