Comment on The TypeScript TaxComments−kardianos7yFor any JS that is over 100 lines, I will use Typescript without thinking.This is 20% for bugs, and 80% for sanity in long term maintenance. Refactoring is so much better / safer when you have a compilation process and at a minimum, types.I just wish I could use Typescript without npm.−wanted27yIf you write 20% more bugs in pure JS you definitely should re-evaluate your skill. I'd never hire someone saying that to me.−Shahor7yYou should probably re-read the comment, because that is not what he's saying ;)−oaiey7yIf you write 6 bugs on 1 million locs of vanilla JS and 5 bugs with TS enabled, he can work for me in vanilla JS.
Comments
For any JS that is over 100 lines, I will use Typescript without thinking.
This is 20% for bugs, and 80% for sanity in long term maintenance. Refactoring is so much better / safer when you have a compilation process and at a minimum, types.
I just wish I could use Typescript without npm.
If you write 20% more bugs in pure JS you definitely should re-evaluate your skill. I'd never hire someone saying that to me.
You should probably re-read the comment, because that is not what he's saying ;)
If you write 6 bugs on 1 million locs of vanilla JS and 5 bugs with TS enabled, he can work for me in vanilla JS.