814
Programming in simple 4 steps
(programming.dev)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities [email protected]
In common usage a linter detects code that is legal but likely a mistake, or code that doesn't follow best practice.
Although static type checkers do fit in that definition, that definition is overly broad and they would not be called a "linter".
Here is how static type checkers describe themselves:
Here is how linters describe themselves:
(Ok I guess it's a bit redundant for Pylint to say it is a linter.)
You get the idea... Linters are heuristic and advisory. Quite different to static type checking.