4 ms·
I think you misunderstood what he is saying (or maybe he wasn't clear enough): in the first paragraph he says that code decays when it is "changed", meaning whe
by mmwako 11y ago
I think you misunderstood what he is saying (or maybe he wasn't clear enough): in the first paragraph he says that code decays when it is "changed", meaning when the codebase is enlarged, grown, more functionality added. On the second, when he talks about interventions, he's not refering to the same kind of changes, but to "code maintainence", which is a distinct and different kind of effort, the one that prevents the decay. For instance, from his point of view, a unit test is not a change to the codebase, but an intervention. Therefore, the codebase organism enlarges and rots with more code added, and bug fixing, test, refactors, etc, are the efforts needed not to rot. (Conclusion: the analogy is not the culprit :)
- andrewflnr 11y ago"Changes" are like simple heat. "Interventions" are changes calculated to reduce entropy.