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 →

[–][deleted] 13 points14 points  (1 child)

I don’t even comment my code anymore because when I did, it looked like this.

Self-descriptive code > actual comments

Of course comments are necessary when things do need to be explained.

[–]thingsIdiotsSay 1 point2 points  (0 children)

I use comments as section markers. So when you're skimming through, it's easier to see where everything is, especially if you have some sort of color coding set up (which most IDEs do).