Click here to Skip to main content
15,911,786 members

Survey Results

Naming conventions in your code   [Edit]

Survey period: 24 Nov 2003 to 30 Nov 2003

What notations do you use when coding?

OptionVotes% 
Hungarian notation with prefixes (strFirstName, m_nNumber etc)76150.13
Hungarian notation without prefixes ( _nNumber etc)432.83
Camel Caps (numberOfDays, isValid etc)46230.43
Pascal case (BackColor, DataSet)17911.79

View optional text answers (92 answers)


 
GeneralRe: Gool ol' Hungarian Pin
Mike Osbahr27-Nov-03 4:55
Mike Osbahr27-Nov-03 4:55 
GeneralRe: Gool ol' Hungarian Pin
Anonymous27-Nov-03 9:09
Anonymous27-Nov-03 9:09 
GeneralRe: Gool ol' Hungarian Pin
Alvaro Mendez28-Nov-03 5:20
Alvaro Mendez28-Nov-03 5:20 
GeneralRe: Gool ol' Hungarian Pin
Shog924-Nov-03 14:27
sitebuilderShog924-Nov-03 14:27 
GeneralHungarian is evil Pin
Navin25-Nov-03 4:54
Navin25-Nov-03 4:54 
GeneralRe: Hungarian is evil Pin
Tim Smith25-Nov-03 16:54
Tim Smith25-Nov-03 16:54 
GeneralRe: Hungarian is evil Pin
Navin26-Nov-03 3:16
Navin26-Nov-03 3:16 
GeneralRe: Gool ol' Hungarian Pin
deo25-Nov-03 12:15
deo25-Nov-03 12:15 
pronI contrcan't vdisagree advmore. How can that be easier to read. Besides hungarian notation negates abstraction. Code chunks should be kept small enough that you can just glance up if you happen to forget what the type of a variable is. Although it probably doesn't matter much anymore, it's better to keep autos defined close to usage anyways.
GeneralRe: Gool ol' Hungarian Pin
Patje25-Nov-03 22:58
Patje25-Nov-03 22:58 
GeneralRe: Gool ol' Hungarian Pin
Mehdi Mousavi26-Nov-03 1:40
Mehdi Mousavi26-Nov-03 1:40 
GeneralRe: Gool ol' Hungarian Pin
peterchen29-Nov-03 2:53
peterchen29-Nov-03 2:53 
GeneralOnly habits... Pin
andyj11524-Nov-03 2:14
andyj11524-Nov-03 2:14 
GeneralRe: Only habits... Pin
Anonymous24-Nov-03 8:32
Anonymous24-Nov-03 8:32 
GeneralRe: Only habits... Pin
Dimitris Vasiliadis25-Nov-03 9:22
Dimitris Vasiliadis25-Nov-03 9:22 
GeneralRe: Only habits... Pin
andyj11525-Nov-03 9:37
andyj11525-Nov-03 9:37 
GeneralRe: Only habits... Pin
Dimitris Vasiliadis25-Nov-03 20:06
Dimitris Vasiliadis25-Nov-03 20:06 
GeneralRe: Only habits... Pin
Navin25-Nov-03 9:47
Navin25-Nov-03 9:47 
GeneralRe: Only habits... Pin
John R. Shaw25-Nov-03 9:53
John R. Shaw25-Nov-03 9:53 
GeneralRe: Only habits... Pin
andyj11525-Nov-03 10:20
andyj11525-Nov-03 10:20 
GeneralRe: Only habits... Pin
John R. Shaw25-Nov-03 10:46
John R. Shaw25-Nov-03 10:46 
GeneralRe: Only habits... Pin
andyj11526-Nov-03 2:05
andyj11526-Nov-03 2:05 
GeneralRe: Only habits... Pin
John R. Shaw27-Nov-03 8:14
John R. Shaw27-Nov-03 8:14 
GeneralHungarian, but a simple version Pin
Anonymous24-Nov-03 1:56
Anonymous24-Nov-03 1:56 
GeneralRe: Hungarian, but a simple version Pin
Anonymous25-Nov-03 9:14
Anonymous25-Nov-03 9:14 
GeneralRadiobuttons not adequate for this question Pin
jhwurmbach24-Nov-03 1:35
jhwurmbach24-Nov-03 1:35 

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.