Refactor: Duplicate and Customize
“If” statements often attract complexity. They gather compound conditions that are hard to understand. More “if” statements get nested inside. It gets hard to know under what conditions any bit of code will run. “Duplicate and Customize” is a refactoring Continue reading Refactor: Duplicate and Customize