The programmer probably understands what their code is doing better than a trivial heuristic rule that was based on a single example taken from a completely different codebase. Trust the programmer over the heuristic.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Even for syntax errors in non-compiled languages like JS?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I’m curious, what linters are you referring to? The feedback we get on ESLint is that it’s most useful for code correctness and least useful for code style. Also, frequently cited as preventing errors. I know all linters are not the same, so definitely interested in more info.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It's not strictly a linter, but PyCharm's static analysis / code suggestions have saved me from many, many bugs.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
i used prettier as a js syntax checker for way longer than I should have
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The word "lint" comes from the program "lint", written 30 years ago, one of the most famous rules being to detect "if (a=b)", which is arguably a correctness issue, not a style issue. Wikipedia says 'A linter is a tool that flags **programming errors**" etc.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I do appreciate code linters for correctness at least when starting into a new language. Less fussy about style tbh.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@fchollet - wrong again.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.