3 ms·
Often developers create an abstracted mess to avoid code duplication. The code is hard to follow and modify later if the common functionality needs to be handl
by mobjack 7y ago
Often developers create an abstracted mess to avoid code duplication.
The code is hard to follow and modify later if the common functionality needs to be handled differently.
There are many times when working on my old code that I was burned by this.
Code duplication isn't necessarily a good thing, but the cure can be worse than the disease. It is better to be pragmatic.