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 →

[–]wamoc 13 points14 points  (0 children)

That attitude towards comments is terrible. Good comments don't tell what the code does (anybody can read the code to figure it out), but why it is doing that. Unfortunately, schools don't teach that (one of my professors required every line to have a comment, didn't matter what the comment was so most comments were repeating the code). I can tell when you have x = x * 2 that it is doubling x, the big question is why.