Click here to Skip to main content
15,886,088 members

Survey Results

Coding style: How do you name your local variables?   [Edit]

Survey period: 3 Apr 2006 to 9 Apr 2006

What's your convention de jour for your locals?

OptionVotes% 
Pascal Cased17110.56
camel Cased70243.36
Fixed letter prefix (eg lLocal)815.00
Hungarian prefix (eg strLocal)48229.77
Scope prefix (eg l_Local)362.22
Scope and Hungarian prefix (eg l_strLocal)1257.72

View optional text answers (100 answers)


 
GeneralRe: Another choice Pin
Colin Angus Mackay2-Apr-06 23:00
Colin Angus Mackay2-Apr-06 23:00 
GeneralRe: Another choice Pin
WayneMJ3-Apr-06 17:01
WayneMJ3-Apr-06 17:01 
GeneralRe: Another choice Pin
Corinna John3-Apr-06 2:22
Corinna John3-Apr-06 2:22 
Generalwhat does 'camel cased' stands for? Pin
Ștefan-Mihai MOGA2-Apr-06 20:49
professionalȘtefan-Mihai MOGA2-Apr-06 20:49 
GeneralRe: what does 'camel cased' stands for? Pin
Colin Angus Mackay2-Apr-06 20:53
Colin Angus Mackay2-Apr-06 20:53 
GeneralMore syles... Pin
Dario Solera2-Apr-06 20:30
Dario Solera2-Apr-06 20:30 
GeneralRe: More syles... Pin
Kevin McFarlane3-Apr-06 10:18
Kevin McFarlane3-Apr-06 10:18 
GeneralRe: More syles... Pin
Furty3-Apr-06 14:10
Furty3-Apr-06 14:10 
Not according to the designer created names we see in VS.. e.g. textBox1, textBox2 etc - for me this indicates that we should probably be naming like so: textBoxUserName, textBoxPassword etc. Which fits nicely with the C# design guidelines.
JokeDepends on the language Pin
Michael P Butler2-Apr-06 20:03
Michael P Butler2-Apr-06 20:03 
GeneralRe: Depends on the language Pin
ed welch3-Apr-06 2:31
ed welch3-Apr-06 2:31 
GeneralRe: Depends on the language Pin
Fernando A. Gomez F.3-Apr-06 12:09
Fernando A. Gomez F.3-Apr-06 12:09 
GeneralConfusing options Pin
leppie2-Apr-06 20:00
leppie2-Apr-06 20:00 

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.