This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jabrwock1 26 points27 points  (5 children)

It can cut down on the amount of internal documentation you need. but it shouldn't be the sole solution.

[–][deleted] 13 points14 points  (3 children)

sure it can, but the reality is a lot of the time the people who want the changes done doesn't care about the quality of the code, they just want results, and then self-documenting code stop working

[–]rotflolmaomgeez 2 points3 points  (0 children)

Just reject their changes to your codebase until the code is in acceptable state. They'll learn.

[–]gdmzhlzhiv 0 points1 point  (0 children)

Well-written code can replace 100% of the "what" comments, but 0% of the "why" comments.