Re:First look: adding type annotations to JavaScript
by mbf on Thursday March 10, 2022 @09:44AM
(#30627454)
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.
[ Parent
| on HN ]
Re:First look: adding type annotations to JavaScript
by eminence32 on Thursday March 10, 2022 @09:51AM
(#30627547)
If the runtime is going to be fully ignoring these type annotations, what type of "bloat" are you worried about?
Re:First look: adding type annotations to JavaScript
by windows2020 on Thursday March 10, 2022 @11:40AM
(#30628893)
New syntax and concepts.
Re:First look: adding type annotations to JavaScript
by xigoi on Thursday March 10, 2022 @01:48PM
(#30630793)
Larger file sizes.
Re:First look: adding type annotations to JavaScript
by cphoover on Thursday March 10, 2022 @01:55PM
(#30630893)
larger downloads, larger syntax