Click here to Skip to main content
15,898,134 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: But why... Pin
Navin3-May-05 8:59
Navin3-May-05 8:59 
GeneralRe: since when is naming conventions part of cls??? Pin
Joshua Quick2-May-05 6:52
Joshua Quick2-May-05 6:52 
GeneralRe: since when is naming conventions part of cls??? Pin
Shog92-May-05 13:42
sitebuilderShog92-May-05 13:42 
GeneralRe: since when is naming conventions part of cls??? Pin
Bernhard2-May-05 22:44
Bernhard2-May-05 22:44 
GeneralRe: since when is naming conventions part of cls??? Pin
Bernhard2-May-05 22:44
Bernhard2-May-05 22:44 
GeneralRe: since when is naming conventions part of cls??? Pin
worldspawn3-May-05 17:15
worldspawn3-May-05 17:15 
GeneralRe: since when is naming conventions part of cls??? Pin
Bob Stanneveld3-May-05 22:24
Bob Stanneveld3-May-05 22:24 
GeneralRe: since when is naming conventions part of cls??? Pin
worldspawn4-May-05 13:18
worldspawn4-May-05 13:18 
OK makes sense. I tried putting [assembly:CLSCompliant(true)] in my code and it told be pretty much everything in my assembly was not compliant. But thats all it told me ("it" being the cs compiler). How are you supposed to know why your code is not CLS Compliant?

[worldspawn]
GeneralRe: since when is naming conventions part of cls??? Pin
Bob Stanneveld5-May-05 1:45
Bob Stanneveld5-May-05 1:45 
GeneralRe: since when is naming conventions part of cls??? Pin
Thomas Freudenberg2-May-05 1:33
Thomas Freudenberg2-May-05 1:33 
GeneralFX Cop: the enforcer Pin
Almighty Bob2-May-05 14:34
Almighty Bob2-May-05 14:34 

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.