Click here to Skip to main content
15,884,986 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
  Forogar  13-Apr-21 9:01
professional  Forogar  13-Apr-21 9:01 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Daniel Pfeffer13-Apr-21 9:10
professionalDaniel Pfeffer13-Apr-21 9:10 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Sander Rossel13-Apr-21 9:40
professionalSander Rossel13-Apr-21 9:40 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Chris Maunder13-Apr-21 10:35
cofounderChris Maunder13-Apr-21 10:35 
GeneralRe: crap coding for myself. What variable names do you use? Pin
kmoorevs13-Apr-21 10:54
kmoorevs13-Apr-21 10:54 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Jon McKee13-Apr-21 11:02
professionalJon McKee13-Apr-21 11:02 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Mycroft Holmes13-Apr-21 12:42
professionalMycroft Holmes13-Apr-21 12:42 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Eddy Vluggen13-Apr-21 12:44
professionalEddy Vluggen13-Apr-21 12:44 
rnbergren wrote:
Anyway I frequently use variables like the following.
astr - it is A String
Sytems vs. Apps hungarian, and they both wrong in update code; we read Joel[^] and do not use it, since VB6.

I will use a descriptive name. "CurrentInput", "DescText". Never will I use a form of hungarian, no matter whether sys or apps. Don't care about company's guideluines either. I write good code, despite guidelines.

We use a descriptive name. No need to include type, one can get that by hovering the mouse.

rnbergren wrote:
Does anyone else do this?
I hope not, that's a sign of sickness.


--edit
I use names; if I don't have a good one in less than a minute, I pick whatever female variable name Google offers. That takes a few minutes more. Mostly going for cat names.
Bastard Programmer from Hell Suspicious | :suss:
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.


modified 13-Apr-21 20:27pm.

GeneralRe: crap coding for myself. What variable names do you use? Pin
Rick York13-Apr-21 13:31
mveRick York13-Apr-21 13:31 
GeneralRe: crap coding for myself. What variable names do you use? Pin
Gerry Schmitz13-Apr-21 13:33
mveGerry Schmitz13-Apr-21 13:33 
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 
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 

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.