Linting
Domain: Code Generation
π― Motivation
Automated checking of code style and common errors. Like a grammar checker for code.
π Concrete Example
Linter (flake8): βLine 5: line too long (90 > 79 chars). Line 10: unused import. Line 15: missing space around operator.β Style and common error checks.
π Analogy
A spell checker for an essay - it underlines spelling and grammar mistakes. A linter does this for code, flagging style and common errors.