Click here to Skip to main content
15,912,021 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
Paul Watson24-Nov-03 5:41
sitebuilderPaul Watson24-Nov-03 5:41 
GeneralRe: Gool ol' Hungarian Pin
Bamaco224-Nov-03 9:15
Bamaco224-Nov-03 9:15 
GeneralRe: Gool ol' Hungarian Pin
Tim Smith25-Nov-03 16:52
Tim Smith25-Nov-03 16:52 
GeneralRe: Gool ol' Hungarian Pin
dog_spawn24-Nov-03 6:48
dog_spawn24-Nov-03 6:48 
GeneralRe: Gool ol' Hungarian Pin
Ravi Bhavnani24-Nov-03 7:00
professionalRavi Bhavnani24-Nov-03 7:00 
GeneralRe: Gool ol' Hungarian Pin
Nemanja Trifunovic24-Nov-03 9:32
Nemanja Trifunovic24-Nov-03 9:32 
GeneralRe: Gool ol' Hungarian Pin
Ravi Bhavnani24-Nov-03 9:37
professionalRavi Bhavnani24-Nov-03 9:37 
GeneralRe: Gool ol' Hungarian Pin
John Khodabakhshian24-Nov-03 13:49
John Khodabakhshian24-Nov-03 13:49 
Totally agree. If people would have appropriate names for variables, there is little to no need for hungarian notation.

what does "strFirstName" buy me that
"FirstName" does not.

John K.
GeneralRe: Gool ol' Hungarian Pin
Julien26-Nov-03 11:49
Julien26-Nov-03 11:49 
GeneralRe: Gool ol' Hungarian Pin
J.B27-Nov-03 14:42
J.B27-Nov-03 14:42 
GeneralRe: Gool ol' Hungarian Pin
Julien27-Nov-03 15:35
Julien27-Nov-03 15:35 
GeneralRe: Gool ol' Hungarian Pin
J.B27-Nov-03 16:20
J.B27-Nov-03 16:20 
GeneralRe: Gool ol' Hungarian Pin
ashleyb27-Nov-03 13:16
ashleyb27-Nov-03 13:16 
GeneralRe: Gool ol' Hungarian Pin
Blake Miller24-Nov-03 10:54
Blake Miller24-Nov-03 10:54 
GeneralRe: Gool ol' Hungarian Pin
Alvaro Mendez24-Nov-03 9:17
Alvaro Mendez24-Nov-03 9:17 
GeneralRe: Gool ol' Hungarian Pin
Ravi Bhavnani24-Nov-03 9:40
professionalRavi Bhavnani24-Nov-03 9:40 
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 
GeneralRe: Gool ol' Hungarian Pin
Patje25-Nov-03 22:58
Patje25-Nov-03 22:58 

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.