3 ms·
> And I am paranoid You should write tests when building a project in a dynamically typed language to alleviate some paranoia anyway. As long as you have decen
by pramodliv1 9y ago
> And I am paranoid
You should write tests when building a project in a dynamically typed language to alleviate some paranoia anyway. As long as you have decent test coverage and use a decent linter/formatter such as StandardJS[0] or prettier[1], you'll be fine.
[0]https://standardjs.com/ https://standardjs.com/
[1]https://github.com/prettier/prettier https://github.com/prettier/prettier
- sli 9y agoYeah, if your linter/build tool can't handle Javascript that doesn't have semicolons, it should be considered fundamentally broken and/or incomplete. So the question to me becomes, if the build tool doesn't correctly parse the JS that's lacking semicolons, should you really trust that build tool with the rest of your code? You already know at that point that it doesn't handle your otherwise-valid semicolonless JS correctly.