News for hackers. Stuff that matters.
Re:Show HN: Patchwork – Open-source framework to automate de... by luckilydiscrete on Monday July 29, 2024 @04:02AM (#41098717)
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.

There are no comments on this comment yet.