Re:First look: adding type annotations to JavaScript
by balefrost on Thursday March 10, 2022 @11:04AM
(#30628438)
Alternatively, perhaps advocates of static typing simply see a larger variety of errors as type errors. In JS, if I typo a key of an object (e.g. `foo.excute()` instead of `foo.execute()`), I would call that a type error... or at least an error that could be caught by a static type system.
[ Parent
| on HN ]
There are no comments on this comment yet.