Re:“What if it changes?”
by zelphirkalt on Monday May 23, 2022 @05:20AM
(#31476812)
I agree! Maybe one could say: Not all repetitions are of equal nature in terms of what causes them, and to understand the cause is important.
The key question is whether there is a functional dependency or just a similarity between some lines of code. If there is a functional dependency, it should be modeled as such the first time it is repeated. If there is only coincidental similarity then introducing a dependency is simply incorrect, regardless of how often any code happens to get repeated.