Click here to Skip to main content
15,891,942 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: 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 
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 
WayneMJ wrote:
it does secure the job for me


It does secure that you'll spent your life maintaining legacy code, because you won't get any new projects and nobody can read the old ones. Laugh | :laugh:

_________________________________
Please inform me about my English mistakes, as I'm still trying to learn your language!

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.