4 ms·
I have to say, although I agree that type-safety is nice, in practice having worked on many javascript apps large and small throughout the past decade, type err
by holler 7y ago
I have to say, although I agree that type-safety is nice, in practice having worked on many javascript apps large and small throughout the past decade, type errors have never been something that slowed me or my team down. Lately I've been questioning whether the hype around TS, and the extra layer of complexity, is really worth it. I guess it depends on the team etc, but I certainly question whether it's a good choice for new or smaller projects.
- joshsaintjacque 7y agoI think people underestimate how often they encounter type errors. Anytime you try to call a property on an object that's undefined, or try to call a function that doesn't exist - those are type errors. And they're the most common JS errors we encounter. Rollbar aggregated the 10 most common JS errors, and virtually all of them are type errors: https://medium.com/@Iren.Korkishko/10-most-common-javascript-errors-dfdca7dbf3f5 https://medium.com/@Iren.Korkishko/10-most-common-javascript...