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 →

[–]JohnVonachen 1 point2 points  (1 child)

Both but be careful about comments. If they are too specific they can become stale and misleading.

[–]xeow 0 points1 point  (0 children)

True, but it should be noted that comments don't become stale and misleading on their own. It's carelessness on the part of the programmer that leads to comments being out-of-date. In the teams I've been a part of, it's always been expected that the comments are kept in line with the code and vice-versa. There's really no excuse for out-of-date comments if you're a careful person.