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.