Click here to Skip to main content
15,892,746 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: what, no m_??? Pin
Gary R. Wheeler3-Apr-06 2:33
Gary R. Wheeler3-Apr-06 2:33 
GeneralRe: what, no m_??? Pin
Ravi Bhavnani3-Apr-06 6:47
professionalRavi Bhavnani3-Apr-06 6:47 
GeneralHungarian prefix (usually) Pin
Rob Caldecott3-Apr-06 0:37
Rob Caldecott3-Apr-06 0:37 
Generala mixture, depending on the need and if it helps Pin
feline_dracoform2-Apr-06 23:51
feline_dracoform2-Apr-06 23:51 
GeneralRe: a mixture, depending on the need and if it helps Pin
Rob Caldecott3-Apr-06 0:40
Rob Caldecott3-Apr-06 0:40 
GeneralRe: a mixture, depending on the need and if it helps Pin
feline_dracoform3-Apr-06 8:52
feline_dracoform3-Apr-06 8:52 
GeneralRe: a mixture, depending on the need and if it helps Pin
Kevin McFarlane3-Apr-06 10:23
Kevin McFarlane3-Apr-06 10:23 
GeneralRe: a mixture, depending on the need and if it helps Pin
Ryan Roberts3-Apr-06 4:30
Ryan Roberts3-Apr-06 4:30 
*cough* typedef *cough*

Ryan

"Michael Moore and Mel Gibson are the same person, except for a few sit-ups. Moore thought his cheesy political blooper reel was going to tell people how to vote. Mel thought that his little gay SM movie about his imaginary friend was going to help him get to heaven."
- Penn Jillette

GeneralRe: a mixture, depending on the need and if it helps Pin
feline_dracoform3-Apr-06 8:54
feline_dracoform3-Apr-06 8:54 
GeneralcamelCasing or Hungarian Pin
HimaBindu Vejella2-Apr-06 22:47
HimaBindu Vejella2-Apr-06 22:47 
GeneralAnother choice Pin
WayneMJ2-Apr-06 21:54
WayneMJ2-Apr-06 21:54 
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 
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.