4 ms·
What does installing a linter have to do with using a subset of a language? Just... use the constructs you're familiar with? It's not like you can "accidentall
by BigJono 8y ago
What does installing a linter have to do with using a subset of a language?
Just... use the constructs you're familiar with? It's not like you can "accidentally" use an ES6 class or something.
- yakshaving_jgt 8y agoYou can accidentally use == instead of ===, or even accidentally use the assignment operator instead of one of the comparison operators. You can know about for..in without knowing about hasOwnProp. You can forget to enable strict mode. The list goes on. Static analysis is universally a good thing.
- deleted 8y ago[deleted]
- bryanrasmussen 8y agoinstalling a linter and limiting yourself to a subset of the language has to do with the fact that most development is done in teams, so when you limit yourself you limit the team to an agreed upon good subset of the language and nobody screws you over because they think the with statement needs a workout.