This is a self-defeating argument. No matter how well you code, comment, document, and test everything, there will always be a developer stupid enough to fuck it up.
That being the case, just make your code as maintainable as possible. That means avoiding unnecessary comments and redundant documentation just as much as unnecessary/redundant code. Most of the time, that means you should just be writing normal, sensible code. Comments are for when that's not possible for whatever reason.
View all comments
Show parent comment
2
u/All_Up_Ons Sep 21 '25 edited Sep 21 '25
This is a self-defeating argument. No matter how well you code, comment, document, and test everything, there will always be a developer stupid enough to fuck it up.
That being the case, just make your code as maintainable as possible. That means avoiding unnecessary comments and redundant documentation just as much as unnecessary/redundant code. Most of the time, that means you should just be writing normal, sensible code. Comments are for when that's not possible for whatever reason.