4 ms·
While true in a subset of problems, linters will also miss stupid mistakes because not everything is syntactical. AI for example can catch the fact that `phone
by luckilydiscrete 2y ago
While true in a subset of problems, linters will also miss stupid mistakes because not everything is syntactical.
AI for example can catch the fact that `phone.match(/\d{10}/)` might break because of spaces, while a linter has no concept of a correct "regex" as long as it matches the regex syntax.
I don't think anyone is arguing that replacing linters with AI is the answer, instead a combination of both is useful.