3 ms·
Not if the errors are rare and the "tooling" slows down development.
by Turing_Machine 5y ago
Not if the errors are rare and the "tooling" slows down development.
- frosted-flakes 5y agoWhy do you think it would slow down development? Serious question.
- scns 5y agoI was shocked how slow tsc is. Got spoiled by using ReasonML before.
- Turing_Machine 5y agoThose type annotations don't just magically appear. You have to write them. Yeah, they're optional, but if you don't write them, there's no point in using TypeScript in the first place.
- jeremyjh 5y agoTypes are inferred even when you don't specify them; if you are using a library that has type specifications a lot of your code is going to be well-typed just as a consequence of using that library.
- Turing_Machine 5y ago1) "Someone else wrote them" doesn't make them free. Given a limited amount of developer time, that means that the time spent on the annotations wasn't spent on other functionality. 2) If the types can be inferred, that should just happen. No objection there. But this piece is specifically about "adding (manually-authored) type annotations to JavaScript"
- moron4hire 5y agoHuh? Rebundling my 150kloc project takes about 2 seconds after I save a file and has already reloaded by the time I get to my browser window.