Click here to Skip to main content
15,890,512 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



 
GeneralRe: "try not to overthink thiings" ... with ii ... Pin
Slacker00723-May-22 5:13
professionalSlacker00723-May-22 5:13 
GeneralRe: "try not to overthink thiings" ... with ii ... Pin
Mike (Prof. Chuck)23-May-22 18:23
professionalMike (Prof. Chuck)23-May-22 18:23 
GeneralRe: "try not to overthink thiings" ... with ii ... Pin
trønderen24-May-22 1:51
trønderen24-May-22 1:51 
GeneralRe: "try not to overthink thiings" ... with ii ... Pin
Bernhard Hiller24-May-22 21:34
Bernhard Hiller24-May-22 21:34 
GeneralRe: "try not to overthink thiings" ... with ii ... Pin
Gary R. Wheeler26-May-22 11:10
Gary R. Wheeler26-May-22 11:10 
GeneralCaching........ Don't right now. Pin
Ron Anders23-May-22 2:59
Ron Anders23-May-22 2:59 
GeneralI am careful with naming, though often clash with existing conventions Pin
den2k8822-May-22 23:49
professionalden2k8822-May-22 23:49 
GeneralCareful with naming - Always descriptive Pin
Slacker00722-May-22 22:04
professionalSlacker00722-May-22 22:04 
Code should be as self documenting as possible. Having simple, descriptive names for your methods, classes, and more importantly your variables is critical, and is key with self documenting code.

var serviceTypes = new List<ServiceType>();

instead of:
var st = new List<ServiceType>();

GeneralRe: Careful with naming - Always descriptive Pin
CHill6022-May-22 23:29
mveCHill6022-May-22 23:29 
GeneralRe: Careful with naming - Always descriptive Pin
trønderen24-May-22 0:19
trønderen24-May-22 0:19 
GeneralRe: Careful with naming - Always descriptive Pin
JP Reyes24-May-22 6:34
JP Reyes24-May-22 6:34 
GeneralOutdated options PinPopular
lmoelleb22-May-22 21:08
lmoelleb22-May-22 21:08 
GeneralMany more hard problems Pin
Patrick Van Cauteren22-May-22 21:50
Patrick Van Cauteren22-May-22 21:50 
GeneralRe: Many more hard problems Pin
Gary R. Wheeler23-May-22 14:22
Gary R. Wheeler23-May-22 14:22 
GeneralRe: Many more hard problems Pin
lmoelleb23-May-22 20:43
lmoelleb23-May-22 20:43 
GeneralRe: Many more hard problems Pin
trønderen24-May-22 0:59
trønderen24-May-22 0:59 
GeneralRe: Many more hard problems Pin
Julian Ragan24-May-22 8:45
Julian Ragan24-May-22 8:45 
GeneralRe: Many more hard problems Pin
Cpichols24-May-22 1:17
Cpichols24-May-22 1:17 
GeneralRe: Many more hard problems Pin
k505425-May-22 3:20
mvek505425-May-22 3:20 
General3 problems listed Pin
Shao Voon Wong22-May-22 20:43
mvaShao Voon Wong22-May-22 20:43 
GeneralRe: 3 problems listed Pin
den2k8822-May-22 23:46
professionalden2k8822-May-22 23:46 
GeneralRe: 3 problems listed PinPopular
Daniel Pfeffer23-May-22 0:57
professionalDaniel Pfeffer23-May-22 0:57 

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.