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
Chris Maunder2-May-05 13:23
cofounderChris Maunder2-May-05 13:23 
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 
Imagine the small chance that you write some classes that you want other developers to use. These developers find your classes very usefull. Among these developers are some VB.NET programmers. They would not be able to use your class if it's not CLS compliant.

In general, I don't think that one should bother too much about writing CLS compliant code. The most code you write isn't going to be reused anyway. But for the classes that tend to be reusable, the CLS standard should be considered.

I also got the blogging virus..[^]
GeneralRe: since when is naming conventions part of cls??? Pin
worldspawn4-May-05 13:18
worldspawn4-May-05 13:18 
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.