News for hackers. Stuff that matters.
Re:Types of Comments to Avoid Making when Programming by sprout on Saturday July 24, 2010 @06:47PM (#1544560)
1, 4, and 5 are all called for in certain circumstances.

I've seen a lot of 2 in shell scripts that aren't under version control, and it's necessary. Though I once slimmed a script I didn't write down from about 1000 to 200 where a lot of that was comments and duplicated functions. (As in, the script would repeatedly define the same function with a different name and a different path hard-coded in, and then call each function in turn.)

The only one that I would say is in a class you legitimately should never do is #3, but no one would ever write that comment except to be flippant.

There are no comments on this comment yet.