>….also known as Marick’s Law.
When it comes to code it never pays to rush.
The latest post from Uncle Bob is classic, because I’m sure most of us have been there or done that. It reminds me of the classic example in eclipse code…how many copies of SWTUtil are floating around? Code bloat comes in all sorts of sizes, sometimes the simpliest code to clean up is not to duplicate the common methods or classes that we use.
What I found more interesting was that when he finally went to clean up his duplicate code, he found he already had the template method defined in the abstract class, and didn’t even realize it.
Take the time to clean the code, it will save you and others time later.