Skip to content

Glossary: Refactoring and Clean Code

Coincidental duplication

Code that looks the same today but stands for different knowledge and changes for different reasons. An example is `PORTLAND_FEE = 15` and `BIG_ORDER_PERCENT = 15`, which should stay separate.

Where the book teaches it

Related terms

DRY (Don't Repeat Yourself)Wrong abstraction