| That's another thing that could get removed/modified/disabled and it's action at a distance Proximity is really fucking important but of course is only a proxy for other practices and anti pattern avoidance Regardless, if you need to engage, do so at the obvious point of engagement, not off in some test suite where you cross your fingers on predicting the future on the diligence of its upkeep. I mean write the test, do your rain dance. It's not going to protect you against the stupidity you have to worry about, X years after you've left the building. Your code will live longer than you think and be modified more times by more people, who you will never meet, then you realize. You don't have to feel responsible for that. But I do and that's one of the examples of how I practice it. You're leaving notes for future archaeologists to remove their guesswork. Again, tests are great, linters are fine, but your nth generational successors may not agree with you or how you did them or how often they should be run or... and there goes your hardwork. Don't rely on them for assuring protection past your tenure. Future coders are probably 10 times more likely to curse you as a nuisance than appreciate your diligence. Assume they'll hate you. |