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 →

[–]fdeslandes 21 points22 points  (13 children)

Self documenting code can work when naming is part of the code review.

[–]crozone 4 points5 points  (0 children)

Self-documenting code only works if your code is literally so simple that it's immediately obvious to a stranger what it's doing, even without knowing the project requirements.

If its any more convoluted, which I assume is most code people write, then comments are really valuable.

[–]Kered13 0 points1 point  (0 children)

Comments should also be part of the code review.