When is code duplication better than reusable
When writing code you should be thinking about making your code reusable. It is part of every good programmer’s toolbox. After all, it can save a ton of time on maintenance. But it does come at a cost. There are times where you should strive for making your code as reusable and generic as possible….