Click here to Skip to main content
15,885,366 members

Survey Results

How important is naming to you in your code?

Survey period: 23 May 2022 to 30 May 2022

There are 2 hard problems in Computer Science: caching, naming and off-by-one errors

OptionVotes% 
I am obsessive and consumed with getting naming right657.80
I am very, very careful with naming23227.85
I do my best, but try not to over-think thiings46956.30
I don't really give it too much thought. Whatever name pops into my head is fine384.56
I really don't care. 26 letters in the alphabet, 26 names, right?40.48
I'm deliberately malicious, obfuscating, and / or sarcastic with my naming50.60
I don't understand what this "naming" thing refers to.202.40



 
GeneralAntisthene Pin
Stylianos Polychroniadis29-May-22 12:36
Stylianos Polychroniadis29-May-22 12:36 
Generalid vs Id vs ID vs entityId vs entityID... Pin
Afzaal Ahmad Zeeshan27-May-22 3:52
professionalAfzaal Ahmad Zeeshan27-May-22 3:52 
GeneralRe: id vs Id vs ID vs entityId vs entityID... Pin
obermd27-May-22 17:23
obermd27-May-22 17:23 
GeneralLet's collect bad examples... Pin
Bernhard Hiller24-May-22 22:01
Bernhard Hiller24-May-22 22:01 
Naming is hard, some of my cow-orkers create wonderful names.

There's the "English" issue, as all of us are German native speakers, and some of us "know English", i.e. that English is a foreign language: enjoy names like "DataEdit" instead of "EditData" because Kevin does not understand the Subject-Predicate-Object rule (or does not understand that "Daten" is object (instead of subject) in the German phrase "Daten bearbeiten".

And there are people who cannot express their thoughts in their native language either. What does "m_ActionQueueFinishedWaiterCanceler.Set();" do? Also "bool m_RunWaitForExtinguishCannonRepairingDone;" looks funny.

And you may find some misleading items. E.g. a "Property" whose getter is actually a state-toggling function with many more side-effects...
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!

GeneralRe: Let's collect bad examples... Pin
CodeWraith25-May-22 3:46
CodeWraith25-May-22 3:46 
GeneralRe: Let's collect bad examples... Pin
Greg Utas25-May-22 11:44
professionalGreg Utas25-May-22 11:44 
GeneralRe: Let's collect bad examples... Pin
Gary R. Wheeler26-May-22 11:11
Gary R. Wheeler26-May-22 11:11 
GeneralRe: Let's collect bad examples... Pin
Greg Utas26-May-22 11:30
professionalGreg Utas26-May-22 11:30 
GeneralI'm not writing poetry! Pin
CodeWraith24-May-22 9:17
CodeWraith24-May-22 9:17 
GeneralI don't overthink. I just name my variables in most descriptive way possible Pin
Julian Ragan24-May-22 8:36
Julian Ragan24-May-22 8:36 
GeneralVelocity -> Acceleration Pin
Amarnath S24-May-22 5:39
professionalAmarnath S24-May-22 5:39 
GeneralEarly Days Pin
CodeZombie6224-May-22 1:08
CodeZombie6224-May-22 1:08 
Generaldebuging d or dd Pin
maze323-May-22 22:45
professionalmaze323-May-22 22:45 
GeneralxxId, ID, Code, Type, Key ... what to do? Pin
Gerry Schmitz23-May-22 16:16
mveGerry Schmitz23-May-22 16:16 
GeneralRe: xxId, ID, Code, Type, Key ... what to do? Pin
trønderen24-May-22 1:01
trønderen24-May-22 1:01 
GeneralRe: xxId, ID, Code, Type, Key ... what to do? Pin
Gerry Schmitz24-May-22 15:13
mveGerry Schmitz24-May-22 15:13 
GeneralI'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Gary R. Wheeler23-May-22 14:19
Gary R. Wheeler23-May-22 14:19 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Julian Ragan24-May-22 8:50
Julian Ragan24-May-22 8:50 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Gary R. Wheeler24-May-22 13:12
Gary R. Wheeler24-May-22 13:12 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
obermd27-May-22 17:25
obermd27-May-22 17:25 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
K Personett25-May-22 2:06
K Personett25-May-22 2:06 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Amarnath S26-May-22 6:37
professionalAmarnath S26-May-22 6:37 
GeneralI hate it.... Pin
0x01AA23-May-22 11:54
mve0x01AA23-May-22 11:54 
GeneralRe: I hate it.... Pin
trønderen24-May-22 1:15
trønderen24-May-22 1:15 
General"try not to overthink thiings" ... with ii ... Pin
Mike (Prof. Chuck)23-May-22 5:06
professionalMike (Prof. Chuck)23-May-22 5:06 

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.