Click here to Skip to main content
15,889,931 members

Survey Results

Do you write CLS-compliant code?   [Edit]

Survey period: 2 May 2005 to 8 May 2005

Writing CLS-compliant means, among other things, no underscores in variable names, no unsigned integers and case insensivity in naming. Do you bother?

OptionVotes% 
Yes, always18415.26
When I can or where it makes sense28123.30
Rarely1018.37
No33427.69
I don't write .NET code30625.37



 
GeneralRe: Hongarian Notation? Pin
dl4gbe5-May-05 9:40
dl4gbe5-May-05 9:40 
GeneralRe: Hongarian Notation? Pin
diilbert6-May-05 11:25
diilbert6-May-05 11:25 
GeneralCasing Pin
Christian Graus2-May-05 17:12
protectorChristian Graus2-May-05 17:12 
GeneralRe: Casing Pin
Kevin McFarlane3-May-05 2:12
Kevin McFarlane3-May-05 2:12 
GeneralRe: Casing Pin
Anonymous3-May-05 12:57
Anonymous3-May-05 12:57 
GeneralRe: Casing Pin
Kevin McFarlane4-May-05 7:58
Kevin McFarlane4-May-05 7:58 
GeneralRe: Casing Pin
Ray Cassick5-May-05 14:29
Ray Cassick5-May-05 14:29 
GeneralRe: Casing Pin
Christian Graus8-May-05 12:45
protectorChristian Graus8-May-05 12:45 
Ray Cassick wrote:
Never had a case of being confused....

For once, this was not a VB bash. The problem I have is that the way I case variables, I am not CLS compliant. Because if I need a scratch variable, I am likely to do this:

Bitmap bitmap = CallSomeFunction();

And I can't do that, because VB is crap and does not recognise case. Oops, I guess it does relate to VB....

It also means I can't do properties like this:

Bitmap sourceImage;

public Bitmap SourceImage
{
get
{
return sourceImage;
}
}

For example.

Casing is one more place where VB won't hurt a disciplined programmer, but helps idiots write unreadable spagetti.


Christian Graus - Microsoft MVP - C++
GeneralDot Net code Pin
Anonymous2-May-05 4:53
Anonymous2-May-05 4:53 
GeneralRe: Dot Net code Pin
Paul Watson2-May-05 10:17
sitebuilderPaul Watson2-May-05 10:17 
GeneralRe: Dot Net code Pin
Anonymous2-May-05 11:32
Anonymous2-May-05 11:32 
GeneralRe: Dot Net code Pin
Shog92-May-05 13:44
sitebuilderShog92-May-05 13:44 
GeneralRe: Dot Net code Pin
Bamaco23-May-05 0:02
Bamaco23-May-05 0:02 
GeneralFxCop anybody? Pin
Nemanja Trifunovic2-May-05 4:08
Nemanja Trifunovic2-May-05 4:08 
GeneralRe: FxCop anybody? Pin
Paul Watson2-May-05 10:17
sitebuilderPaul Watson2-May-05 10:17 
GeneralRe: FxCop anybody? Pin
Alvaro Mendez3-May-05 9:35
Alvaro Mendez3-May-05 9:35 
GeneralRe: FxCop anybody? Pin
Nemanja Trifunovic3-May-05 9:49
Nemanja Trifunovic3-May-05 9:49 
GeneralRe: FxCop anybody? Pin
Chris Maunder4-May-05 17:26
cofounderChris Maunder4-May-05 17:26 
GeneralRe: FxCop anybody? Pin
Jeff Martin10-May-05 3:15
Jeff Martin10-May-05 3:15 
Generalsince when is naming conventions part of cls??? Pin
Almighty Bob1-May-05 18:22
Almighty Bob1-May-05 18:22 
GeneralRe: since when is naming conventions part of cls??? Pin
Nish Nishant1-May-05 18:57
sitebuilderNish Nishant1-May-05 18:57 
GeneralRe: since when is naming conventions part of cls??? Pin
Almighty Bob2-May-05 14:40
Almighty Bob2-May-05 14:40 
GeneralRe: since when is naming conventions part of cls??? Pin
Chris Maunder1-May-05 21:03
cofounderChris Maunder1-May-05 21:03 
GeneralHmmm... Pin
Kochise2-May-05 2:35
Kochise2-May-05 2:35 
GeneralRe: since when is naming conventions part of cls??? Pin
Chris Meech2-May-05 3:01
Chris Meech2-May-05 3:01 

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.