Skip to content

Glossary: Refactoring and Clean Code

Lying comment

Also written: lying comments

A comment that no longer matches the code, like `# 10% off` above tiers of 15% and 5%. Trust the code and fix or delete the comment.

Where the book teaches it

Related terms

commented-out codejournal comment