Click here to Skip to main content
15,885,365 members

Survey Results

Do you use C# style XML comments when programming?   [Edit]

Survey period: 9 May 2005 to 15 May 2005

XML comments make documentation easy and they don't have to be reserved for C# only. Regardless of your programming language, do you use XML comments? (suggested by Matthias Steinbart)

OptionVotes% 
I don't use C# and don't use XML comments at all41032.83
I use C# and don't use them at all20916.73
I only provide summaries15512.41
I provide summaries, return values and parameters37029.62
I provide everything including fully formatted remarks, examples and exception tags.1058.41



 
GeneralAs a block commenter Pin
Ennis Ray Lynch, Jr13-May-05 3:02
Ennis Ray Lynch, Jr13-May-05 3:02 
GeneralI hate comment misuse Pin
Alex Korchemniy11-May-05 10:44
Alex Korchemniy11-May-05 10:44 
GeneralRe: I hate comment misuse Pin
Kevin McFarlane11-May-05 12:05
Kevin McFarlane11-May-05 12:05 
GeneralRe: I hate comment misuse Pin
Ennis Ray Lynch, Jr13-May-05 2:54
Ennis Ray Lynch, Jr13-May-05 2:54 
GeneralUsing the example tag. Pin
Ray Cassick10-May-05 9:40
Ray Cassick10-May-05 9:40 
GeneralRe: Using the example tag. Pin
David Wulff10-May-05 10:41
David Wulff10-May-05 10:41 
Generali like the no comment warnings Pin
feline_dracoform9-May-05 23:58
feline_dracoform9-May-05 23:58 
GeneralRe: i like the no comment warnings Pin
Chris Maunder10-May-05 14:12
cofounderChris Maunder10-May-05 14:12 
GeneralTime saver Pin
WillemM9-May-05 21:15
WillemM9-May-05 21:15 
GeneralRe: Time saver Pin
Anonymous10-May-05 4:06
Anonymous10-May-05 4:06 
GeneralRe: Time saver Pin
WillemM10-May-05 4:09
WillemM10-May-05 4:09 
Generalmulti language examples Pin
Mark Focas9-May-05 20:03
Mark Focas9-May-05 20:03 
GeneralHeh... NO! Pin
Shog99-May-05 11:03
sitebuilderShog99-May-05 11:03 
GeneralRe: Heh... NO! Pin
Blake Miller10-May-05 4:10
Blake Miller10-May-05 4:10 
GeneralI use XML comments and don't use C# Pin
Gary Wheeler9-May-05 10:11
Gary Wheeler9-May-05 10:11 
Generalonly if it will be exposed or will be documented Pin
Almighty Bob9-May-05 8:39
Almighty Bob9-May-05 8:39 
GeneralRe: only if it will be exposed or will be documented Pin
Ray Cassick10-May-05 9:47
Ray Cassick10-May-05 9:47 
GeneralDoxygen rocks Pin
De Nardis Andrea9-May-05 3:54
De Nardis Andrea9-May-05 3:54 
GeneralRe: Doxygen rocks Pin
Anna-Jayne Metcalfe9-May-05 5:39
Anna-Jayne Metcalfe9-May-05 5:39 
GeneralRe: Doxygen rocks Pin
ed welch10-May-05 11:12
ed welch10-May-05 11:12 
GeneralRe: Doxygen rocks Pin
diilbert10-May-05 13:19
diilbert10-May-05 13:19 
GeneralRe: Doxygen rocks Pin
SHaroz11-May-05 18:18
SHaroz11-May-05 18:18 
GeneralDouble-edged sword Pin
Navin9-May-05 2:49
Navin9-May-05 2:49 
XML comments are not unlike JavaDoc which I do use... they are great for generating documentation. It is especially nice to know that if you keep the comments up to date your generated docs will be up to date too (the pragmatic programming concept of not duplicating information.)

That being said, PJ has a legitimate point - it makes the comments hard to read when you are actually working IN the code!

My compromise so far has been, any code that will be part of a public framework or interface gets the special docs, anything else (private methods, in-line commnets, etc.) gets regular, plain-Jane comments.


The generation of random numbers is too important to be left to chance.

GeneralRe: Double-edged sword Pin
Ray Cassick9-May-05 7:25
Ray Cassick9-May-05 7:25 
GeneralRe: Double-edged sword Pin
Blake Miller10-May-05 4:12
Blake Miller10-May-05 4:12 

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.