My code often has more lines of comments than actual code.

By 1 Darin on August 29, 2007

Tags: programming
Embed Claim Make a related claim

Discussion (3)

http://wonko.com/

7 Ryan Grove who agreed, says

I tend to write detailed doc comments. In a concise language like Ruby, it's very easy for my class and method documentation to end up being longer than the classes and methods they describe.

Make a related claim 12 months ago (link)
http://phpjunkie.myopenid.com/

2 phpjunkie who disagreed, says

When i first started writing comments, like 10 years ago, I would comment everything including initializing variables. Now I only note total hacks . So, I lied about NEVER commenting. Maybe one comment for every hundred lines. Except for work, I will comment anything unobvious.

Make a related claim 12 months ago (link)
http://alkanshel.myopenid.com/

4 Alkanshel who agreed, says

Only in intermediate stages, though. I have a habit of notating a complete snapshot of my current position in the code before I go to sleep, and then erasing parts of it as I fix the code.

Make a related claim 12 months ago (link)
Sign in in to leave a comment.