Skip to content

Glossary: Refactoring and Clean Code

commented-out code

Also written: dead code

Old code switched off with `#`, such as `# print(data)`. Nobody knows if it still matters, so delete it and let version control remember it.

Where the book teaches it

Related terms

Lying commentjournal comment