2 ms·
> In addition, most of these checks are provided in other languages or linters for those languages. Linters are inferior to things the compiler catches for the
by sgift 4y ago
> In addition, most of these checks are provided in other languages or linters for those languages.
Linters are inferior to things the compiler catches for the same reason test cases are inferior: They are not enforced. If the compiler doesn't allow something you can say with confidence you will never see it in the wild. With linters, compiler switches (-Werror) or test cases you'll have no idea.