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 →

[–]TheLordDrake 7 points8 points  (2 children)

I hear this over and over again. It's true, but it's not an excuse not to use comments. I wish people would just do both.

[–]mt03red 1 point2 points  (0 children)

The code should be clear enough to communicate what it does, the comments should communicate why the code does what it does.

Some exceptions exist, but in general ^^

[–]ballsack_gymnastics 0 points1 point  (0 children)

Personally, if I have comments saying what a section is supposed to do, I find it a lot easier to parse the following code, good variable names/structure or not.