Click here to Skip to main content
16,008,469 members

Survey Results

What do you comment in your code?   [Edit]

Survey period: 28 May 2007 to 3 Jun 2007

Conventional wisdom says comments are good. How far do you go in the pursuit of explanation?

Q1. I comment...

OptionVotes% 
All namespaces21926.61
All classes, structs and interfaces60573.51
All public methods67181.53
All protected methods47958.20
All private methods43452.73
All events and delegates40348.97
All class member variable declarations28234.26
All constant declarations29135.36
All enumerations33240.34
All local variable declarations14817.98
All control structures such as loops and case statements29936.33
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralDenied the right to vote! Pin
Phil J Pearson28-May-07 1:33
Phil J Pearson28-May-07 1:33 
GeneralRe: Denied the right to vote! Pin
Chris Maunder28-May-07 2:14
cofounderChris Maunder28-May-07 2:14 
GeneralRe: Denied the right to vote! Pin
Nish Nishant28-May-07 8:37
sitebuilderNish Nishant28-May-07 8:37 
GeneralRe: Denied the right to vote! Pin
Chris Maunder28-May-07 8:39
cofounderChris Maunder28-May-07 8:39 
JokeRe: Denied the right to vote! Pin
Tom Welch29-May-07 9:12
Tom Welch29-May-07 9:12 
GeneralRe: Denied the right to vote! Pin
Grimolfr29-May-07 2:33
Grimolfr29-May-07 2:33 
GeneralRe: Denied the right to vote! Pin
TheGreatAndPowerfulOz29-May-07 9:00
TheGreatAndPowerfulOz29-May-07 9:00 
GeneralRe: Denied the right to vote! Pin
Ashley van Gerven29-May-07 17:49
Ashley van Gerven29-May-07 17:49 
I took all to mean 90% of the time Unsure | :~ . Guess it's too late to change my vote now D'Oh! | :doh: . Well judging from everyone else's votes, I'm a bit slack at commenting.. but then I just don't see the point of commenting something that's already obvious. (Once I start commenting I spend half an hour just making sure it's understandable to a primary school student who's technical knowledge extends only as far as changing his phone's ringtone Smile | :) ). Maybe I need to find that elusive "middle road"...


"For fifty bucks I'd put my face in their soup and blow." - George Costanza
 CP article: SmartPager - a Flickr-style pager control with go-to-page popup layer.

GeneralRe: Denied the right to vote! Pin
John M. Drescher28-May-07 14:25
John M. Drescher28-May-07 14:25 
GeneralMostly in Complicated Logics Pin
Senthil Kumar U27-May-07 23:10
Senthil Kumar U27-May-07 23:10 
GeneralRe: Mostly in Complicated Logics Pin
Pater28-May-07 22:17
Pater28-May-07 22:17 
GeneralRe: Mostly in Complicated Logics Pin
Seun29-May-07 7:25
professionalSeun29-May-07 7:25 
Generalonly essential comments Pin
ed welch27-May-07 21:41
ed welch27-May-07 21:41 
GeneralRe: only essential comments Pin
Jörgen Sigvardsson27-May-07 22:50
Jörgen Sigvardsson27-May-07 22:50 
GeneralRe: only essential comments Pin
leppie29-May-07 5:29
leppie29-May-07 5:29 
GeneralRe: only essential comments Pin
Jörgen Sigvardsson29-May-07 5:34
Jörgen Sigvardsson29-May-07 5:34 
GeneralRe: only essential comments Pin
Chris Maunder28-May-07 2:17
cofounderChris Maunder28-May-07 2:17 
GeneralRe: only essential comments Pin
ed welch28-May-07 3:25
ed welch28-May-07 3:25 
GeneralRe: only essential comments Pin
mungflesh28-May-07 23:43
mungflesh28-May-07 23:43 
GeneralRe: only essential comments Pin
John R. Shaw29-May-07 2:01
John R. Shaw29-May-07 2:01 
GeneralRe: only essential comments Pin
Grimolfr29-May-07 2:36
Grimolfr29-May-07 2:36 
GeneralRe: only essential comments Pin
Kevin McFarlane30-May-07 4:59
Kevin McFarlane30-May-07 4:59 
Generalproblem sync code with old comment? Pin
devvvy28-May-07 4:35
devvvy28-May-07 4:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.