Click here to Skip to main content
15,891,253 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 
What really irritates me about the C# IDE is the microsoft style insistence. It seems to punish you for not using microsoft style. I use multiline comments and the IDE refuses to copy and paste them correctly with autoformatting on. It can't be difficult, eclipse does it and the code is open source!

Wait, there was a point. Navin has it right with XML comments outside of bodies and regular comments inside bodies. But what is a programmer to do when he (or she) wants multiline comments inside a body without an XML warning? I never could find the documentation but using /**foo*/ inside a method will give a malformed XML error while /*foo*/ won't.
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 
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.