Click here to Skip to main content
15,845,436 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 13:36
Stylianos Polychroniadis29-May-22 13:36 
Generalid vs Id vs ID vs entityId vs entityID... Pin
Afzaal Ahmad Zeeshan27-May-22 4:52
professionalAfzaal Ahmad Zeeshan27-May-22 4:52 
GeneralRe: id vs Id vs ID vs entityId vs entityID... Pin
obermd27-May-22 18:23
obermd27-May-22 18:23 
GeneralLet's collect bad examples... Pin
Bernhard Hiller24-May-22 23:01
Bernhard Hiller24-May-22 23:01 
GeneralRe: Let's collect bad examples... Pin
CodeWraith25-May-22 4:46
CodeWraith25-May-22 4:46 
GeneralRe: Let's collect bad examples... Pin
Greg Utas25-May-22 12:44
professionalGreg Utas25-May-22 12:44 
GeneralRe: Let's collect bad examples... Pin
Gary R. Wheeler26-May-22 12:11
Gary R. Wheeler26-May-22 12:11 
GeneralRe: Let's collect bad examples... Pin
Greg Utas26-May-22 12:30
professionalGreg Utas26-May-22 12:30 
GeneralI'm not writing poetry! Pin
CodeWraith24-May-22 10:17
CodeWraith24-May-22 10:17 
GeneralI don't overthink. I just name my variables in most descriptive way possible Pin
Julian Ragan24-May-22 9:36
Julian Ragan24-May-22 9:36 
GeneralVelocity -> Acceleration Pin
Amarnath S24-May-22 6:39
professionalAmarnath S24-May-22 6:39 
GeneralEarly Days Pin
CodeZombie6224-May-22 2:08
CodeZombie6224-May-22 2:08 
Generaldebuging d or dd Pin
maze323-May-22 23:45
professionalmaze323-May-22 23:45 
GeneralxxId, ID, Code, Type, Key ... what to do? Pin
Gerry Schmitz23-May-22 17:16
mveGerry Schmitz23-May-22 17:16 
GeneralRe: xxId, ID, Code, Type, Key ... what to do? Pin
trønderen24-May-22 2:01
trønderen24-May-22 2:01 
GeneralRe: xxId, ID, Code, Type, Key ... what to do? Pin
Gerry Schmitz24-May-22 16:13
mveGerry Schmitz24-May-22 16:13 
GeneralI'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Gary R. Wheeler23-May-22 15:19
Gary R. Wheeler23-May-22 15:19 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Julian Ragan24-May-22 9:50
Julian Ragan24-May-22 9:50 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Gary R. Wheeler24-May-22 14:12
Gary R. Wheeler24-May-22 14:12 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
obermd27-May-22 18:25
obermd27-May-22 18:25 
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
K Personett25-May-22 3:06
K Personett25-May-22 3:06 
That story reminds me of when I went to work for a manufacturing company in Dallas many years back. One of my first tasks was to update/complete an existing ASC X12 application that my predecessor has created, that was not quite functional yet. Basically handling purchase orders (850 Documents) and putting that data into a Btrieve database for Micro-MRP Max Manufacturing and Requirements Planning software that the company ran on.

There were no defined structures anywhere, everything was a void pointer with memcpy operations to the void pointer address plus an offset. I told my boss, I can either update his code, which would take a couple of months at a minimum, or write a fully functional replacement from scratch in a couple of weeks that was much easier to maintain. I ended up writing a replacement from scratch. That initial work became the inspiration for for a full blown ASC X12 class library I wrote in my spare time and licensed to the company free of charge. Developed a parser that interpreted the ASC X12 documentation and generated classes for each complex data type and document type.

Eventually, I ended up licensing out that class library to a few other companies as a side hustle.
GeneralRe: I'm deliberately malicious, obfuscating, and / or sarcastic with my naming Pin
Amarnath S26-May-22 7:37
professionalAmarnath S26-May-22 7:37 
GeneralI hate it.... Pin
0x01AA23-May-22 12:54
mve0x01AA23-May-22 12:54 
GeneralRe: I hate it.... Pin
trønderen24-May-22 2:15
trønderen24-May-22 2:15 
General"try not to overthink thiings" ... with ii ... Pin
Mike (Prof. Chuck)23-May-22 6:06
professionalMike (Prof. Chuck)23-May-22 6: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.