News for hackers. Stuff that matters.
Re:Self-Commenting Code by goofygrin on Tuesday April 22, 2008 @05:17PM (#170986)
When I'm writing a block of code, I tend to do something like this. I pseudo code the algorythm and then write the code.

I tend to remove my comments though and they normally aren't 100% correct by the time I'm done and have refactored (heck, a lot of times the comments become the code/called method names).

And then you assume that the comments are kept around/up to date when a bug is fixed or an enhancement is added.

There are no comments on this comment yet.