| ▲ | mattacular 5 hours ago | ||||||||||||||||||||||||||||
Code cannot and should not be self documenting at scale. You cannot document "the why" with code. In my experience, that is only ever used as an excuse not to write actual documentation or use comments thoughtfully in the codebase by lazy developers. | |||||||||||||||||||||||||||||
| ▲ | bdangubic 5 hours ago | parent [-] | ||||||||||||||||||||||||||||
this always starts out right but over the years the code changes and its documentation seldom does, even on the best of teams. the amount of code documentation that I have seen that is just plain wrong (it was right at some point) far outnumbers the amount of code documentation that was actually in-sync with the code. 30 years in the industry so large sample size. now I prefer no code documentation in general | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||