Re:We invested 10% to pay back tech debt; Here's what happened
by iopq on Monday January 16, 2023 @02:23AM
(#34397867)
You have to test all of the affected pages anyway
the real horror is they have slightly different version since they already had other changes done to them, and I have to understand whether I should merge the functionality, keep it different, etc.
when I have multiple callers it's going to be the same unless you pass in an argument, so that change is self-documenting since it signifies intent
Simple duplication is probably the least bad form of tech debt I can imagine.