Glossary

When to comment:

Explain *why*, not *what*. The code says what it does. Comments say why. - Flag non-obvious business rules: `# Discount applies only to orders over $500 (company policy)` - Mark assumptions: `# Assumes fiscal year starts January 1` - Explain tricky workarounds: `# Using string comparison here becaus

Learn More

Related Terms