O'Reilly logo
  • Karl Giesing thinks this is interesting:

trying to do the same thing in multiple places regardless of the way you do it.


Cover of Beyond Legacy Code


This is very valid, and definitely different than code duplication. The likely cause is violation of the SRP: the redundant code is trying to have the same responsibility as another piece of code.