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

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Martin Hart Turner13-Apr-21 22:17
Martin Hart Turner13-Apr-21 22:17 
GeneralRe: crap coding for myself. What variable names do you use? Pin
ACRowland13-Apr-21 22:54
ACRowland13-Apr-21 22:54 
GeneralRe: crap coding for myself. What variable names do you use? Pin
BernardIE531714-Apr-21 1:32
BernardIE531714-Apr-21 1:32 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Pete Kelley14-Apr-21 1:53
Pete Kelley14-Apr-21 1:53 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Gary R. Wheeler14-Apr-21 12:55
Gary R. Wheeler14-Apr-21 12:55 
GeneralRe: crap coding for myself. What variable names do you use? Pin
gervacleto14-Apr-21 2:07
professionalgervacleto14-Apr-21 2:07 
GeneralRe: crap coding for myself. What variable names do you use? Pin
honey the codewitch14-Apr-21 2:28
mvahoney the codewitch14-Apr-21 2:28 
GeneralRe: crap coding for myself. What variable names do you use? Pin
W Balboos, GHB14-Apr-21 2:29
W Balboos, GHB14-Apr-21 2:29 
Well, it VARIES. (Obligatory Answer).

Like many here, I use i,j,k, and occasionally other single letters for loops and counters. It's habitual enough that their purpose actually screams out "I am a counter".

But, in general, I do it in camelCase because it's eye-friendly to me and follow the following:

"If you don't have time to do it right the first time, how will you find the time to do it again?"


Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: crap coding for myself. What variable names do you use? Pin
Rusty Bullet14-Apr-21 3:07
Rusty Bullet14-Apr-21 3:07 
GeneralRe: crap coding for myself. What variable names do you use? Pin
obermd14-Apr-21 3:31
obermd14-Apr-21 3:31 
GeneralRe: crap coding for myself. What variable names do you use? Pin
MSBassSinger14-Apr-21 5:27
professionalMSBassSinger14-Apr-21 5:27 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Jeff Moden14-Apr-21 7:54
Jeff Moden14-Apr-21 7:54 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Daniel Will14-Apr-21 16:36
Daniel Will14-Apr-21 16:36 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Member 1409260515-Apr-21 2:27
Member 1409260515-Apr-21 2:27 
GeneralRe: crap coding for myself. What variable names do you use? Pin
StarNamer@work20-Apr-21 4:04
professionalStarNamer@work20-Apr-21 4:04 
GeneralOnly If It Was Every Week Pin
W Balboos, GHB13-Apr-21 6:14
W Balboos, GHB13-Apr-21 6:14 
GeneralRe: Only If It Was Every Week Pin
Slacker00713-Apr-21 7:10
professionalSlacker00713-Apr-21 7:10 
GeneralRe: Only If It Was Every Week Pin
W Balboos, GHB13-Apr-21 7:17
W Balboos, GHB13-Apr-21 7:17 
GeneralRe: Only If It Was Every Week Pin
Slacker00713-Apr-21 7:32
professionalSlacker00713-Apr-21 7:32 
GeneralRe: Only If It Was Every Week Pin
Dave Kreskowiak13-Apr-21 7:46
mveDave Kreskowiak13-Apr-21 7:46 
GeneralRe: Only If It Was Every Week Pin
Slacker00713-Apr-21 7:58
professionalSlacker00713-Apr-21 7:58 
GeneralRe: Only If It Was Every Week Pin
rnbergren13-Apr-21 8:39
rnbergren13-Apr-21 8:39 
GeneralRe: Only If It Was Every Week Pin
W Balboos, GHB13-Apr-21 7:51
W Balboos, GHB13-Apr-21 7:51 
GeneralRe: Only If It Was Every Week Pin
Marc Clifton13-Apr-21 8:47
mvaMarc Clifton13-Apr-21 8:47 
GeneralRe: Only If It Was Every Week Pin
Eddy Vluggen13-Apr-21 12:47
professionalEddy Vluggen13-Apr-21 12:47 

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.