Click here to Skip to main content
15,891,629 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
Gary R. Wheeler13-Apr-21 13:36
Gary R. Wheeler13-Apr-21 13:36 
QuestionRe: crap coding for myself. What variable names do you use? Pin
Eddy Vluggen13-Apr-21 14:28
professionalEddy Vluggen13-Apr-21 14:28 
GeneralRe: crap coding for myself. What variable names do you use? Pin
CPallini13-Apr-21 21:08
mveCPallini13-Apr-21 21:08 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Wizard of Sleeves13-Apr-21 21:10
Wizard of Sleeves13-Apr-21 21:10 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Gary R. Wheeler14-Apr-21 12:53
Gary R. Wheeler14-Apr-21 12:53 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Richard MacCutchan13-Apr-21 21:29
mveRichard MacCutchan13-Apr-21 21:29 
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 
Well, if I'm writing a very short procedure purely as a way to check it works or compare two methods that have occurred to me, and am probably doing it in a test rig, then yes, I will use short variable names for speed. But I do it properly when I rewrite the code into the actual program.

One thing I will admit to: if I write a short utility function, one or two lines... you know, to return a filename without the extension, or the nth word in a string or something... I will often use astr, x etc. And counters are i. Always. Unless there is a nested loop, in which case one of them is j. Unless the code is long and complicated, in which case one is outer and the other inner.

Should I hang my head in shame? [Please specify precise angle]
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 
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 

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.