Click here to Skip to main content
15,920,468 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)


 
Generalan underscore and plain english (camel case) Pin
fabulous7-Apr-06 16:10
fabulous7-Apr-06 16:10 
GeneralHN Pin
vobject7-Apr-06 1:53
vobject7-Apr-06 1:53 
GeneralJust us GUIDs Pin
Troy Marchand6-Apr-06 18:23
sitebuilderTroy Marchand6-Apr-06 18:23 
JokeI don't have local variables Pin
Marek.T6-Apr-06 11:52
Marek.T6-Apr-06 11:52 
GeneralK.I.S.S. Pin
David Veeneman6-Apr-06 9:27
David Veeneman6-Apr-06 9:27 
GeneralRe: K.I.S.S. Pin
Alvaro Mendez7-Apr-06 5:08
Alvaro Mendez7-Apr-06 5:08 
GeneralUsing C# .Net then use Microsoft's Pin
Daniel Vaughan6-Apr-06 3:22
Daniel Vaughan6-Apr-06 3:22 
JokeUsing C++ and using C# style Pin
FocusedWolf7-Apr-06 5:22
FocusedWolf7-Apr-06 5:22 
GeneralRe: Using C++ and using C# style Pin
vobject9-Apr-06 21:42
vobject9-Apr-06 21:42 
GeneralMe Pin
Trance Junkie4-Apr-06 23:51
Trance Junkie4-Apr-06 23:51 
GeneralRe: Me Pin
Bob Stanneveld5-Apr-06 23:34
Bob Stanneveld5-Apr-06 23:34 
GeneralRe: Me Pin
Malik Nasir31-May-06 0:07
Malik Nasir31-May-06 0:07 
GeneralMy use of "Scope and Hungarian prefix" Pin
Kochise4-Apr-06 21:40
Kochise4-Apr-06 21:40 
GeneralDatagrid new line Pin
Macky1004-Apr-06 3:26
Macky1004-Apr-06 3:26 
GeneralRe: Datagrid new line Pin
Arch4ngel4-Apr-06 10:52
Arch4ngel4-Apr-06 10:52 
GeneralCListCtrl Pin
Phil J Pearson4-Apr-06 1:11
Phil J Pearson4-Apr-06 1:11 
GeneralX Pin
thrakazog3-Apr-06 9:17
thrakazog3-Apr-06 9:17 
GeneralRe: X Pin
Rohit Wason3-Apr-06 9:58
Rohit Wason3-Apr-06 9:58 
GeneralRe: X Pin
Gary R. Wheeler3-Apr-06 15:40
Gary R. Wheeler3-Apr-06 15:40 
GeneralV Pin
hairy_hats7-Apr-06 5:19
hairy_hats7-Apr-06 5:19 
GeneralRe: X Pin
toxcct4-Apr-06 0:58
toxcct4-Apr-06 0:58 
GeneralRe: X Pin
KarstenK4-Apr-06 2:58
mveKarstenK4-Apr-06 2:58 
GeneralRe: X Pin
KevinHall4-Apr-06 4:59
KevinHall4-Apr-06 4:59 
GeneralRe: X Pin
WillemM5-Apr-06 21:09
WillemM5-Apr-06 21:09 
Very handy dont you think? Sigh | :sigh:
If I was your boss and you would make code like that, you would be fired the next day. This will cost a lot of money to maintain and if you wait to long to fix code like this, you will spend even more money to fix it...


WM.

What about weapons of mass-construction?
GeneralRe: X Pin
KevinHall6-Apr-06 7:57
KevinHall6-Apr-06 7:57 

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.