Click here to Skip to main content
15,906,463 members

Survey Free Text Answers

Naming conventions in your code

31 Jan 2005 to 6 Feb 2005 What notations do you use when naming variables? (And have things changed since we first asked back in 2003?)

Text entry answers for sorted by frequency of occurrance.

(3) CListCtrl
(2) java
(1) kerio personal firewall 4
(1) load new form
(1) local_variable, class_variable_, static_variable__
(1) m_FirstName
(1) m_thisisavariable
(1) mainframe
(1) MaskBlt
(1) matrix
(1) medical dianostic
(1) Members prefixed by _ without Hungarian notation
(1) mixed
(1) mixture of Camel and prefixed Hungarian
(1) modified hungarian notation
(1) Modified Hungarian Notation combined with Camel Caps
(1) mVariable, pVariable, lVariable, gVariable => Member, Parameter, Local, Global
(1) my own
(1) my_variable_
(1) myMemberVariable, aFunctionParameter, ourStaticVariable, theGlobalVariable
(1) No convention, just use what whatever
(1) none!
(1) Objective C code
(1) olap
(1) op
(1) Pascal case for public and camel Case for private members
(1) Pascal case with suffixes
(1) Pascal for public and Camel for private
(1) port programming using c#
(1) Prefix without Hungarian Notation (firstName, m_anyNumber)
(1) ps2 codes
(1) Public: PascalCase; Private: camelCaps
(1) random
(1) Sort of Hungarian...pcName, nCounter, fCurrency
(1) soulseek
(1) Sutter convention
(1) timer
(1) vbporjects
(1) vbscript
(1) viruse checking using java source code
(1) Visual Basic Project
(1) You can take my Hungarian when you pry it from my cold, dead hands!
(1) code
(1) combination of Camel and Pascal casing
(1) Combination of camelCaps and PascalCase
(1) cserialport
(1) database programmes
(1) delphi5
(1) depends on context
(1) Depends on scope
(1) ENVIAR Y RECIBIR DATOS DESDE EL PUERTO PARALELO
(1) equalizer
(1) FxCop-enforced notation (camel+Pascal)
(1) home made "scope" prefix identifiers
(1) hungarian notation with and wihtout prefixes and pascal case
(1) Hungarian notation with members like this: int i_MyInt, CString s_myString.....
(1) Hungarian notation withot type: m_FirstName, g_State
(1) Hungarian, Camel and Pascal
(1) image mining
(1) interfacing programs
(1) IRC
(1) "photo album"
(1) A bastardized version of Hungarian notation
(1) A mix
(1) A mix of Hungarian notation with prefixes and Pascal
(1) All the above? :~
(1) both hungarian notation and camel for variables, pascal case for functions
(1) BOTH! >>

www.dacris.com

(1) Camal Caps and a bit Hungarian notation with prefixes
(1) Camel Caps (numberOfDays, isValid etc) with _ prefix for fields
(1) Camel Caps for all (non const and public) and undescore for member variables
(1) Camel Caps with prefixes
(1) Camel Caps with prefixes (for static/member variables)
(1) Camel for local variables, Hungarian (_myVar) for class variables; Pascal for properties and methods
(1) Camel for variables, Pascal for the rest
(1) camelCase for internal members/vars and PascalCase for public members/vars, m_FirstName for the variables behind public properties
(1) camelCasing AND PascalCasing
(1) cbt
(1) centura