3 ms·
> Granted, that's how easy it is to properly check JS code for whether it does something sensible > especially because issue categorization and accuracy was so
by jatone 5y ago
> Granted, that's how easy it is to properly check JS code for whether it does something sensible
> especially because issue categorization and accuracy was so random
Stockholm syndrome is strong with this one. =)
the reason you didn't find the IDE suggestions helpful is exactly because of how difficult it is to reason about dynamic language code. the tooling is basically just guessing and expecting you to deal with the noise on the off chance it found something.
- ygra 5y agoI've ended up deciding for myself to never write JS and instead using TypeScript. So far it's working well. I just couldn't really see all that random guessing by the IDE as an advantage. If the only way to figure out whether the code is broken is to run it, then it's pointless to guess potential problems on every single expression because dealing with those takes more time than just testing the code – or results in the developer completely ignoring all diagnostics.