Click here to Skip to main content
15,891,529 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: Question on variable naming style (i.e. r versus random) Pin
Slacker00718-Sep-15 1:20
professionalSlacker00718-Sep-15 1:20 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
User 1013254618-Sep-15 2:22
User 1013254618-Sep-15 2:22 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
den2k8818-Sep-15 0:57
professionalden2k8818-Sep-15 0:57 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Slacker00718-Sep-15 1:24
professionalSlacker00718-Sep-15 1:24 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
den2k8818-Sep-15 2:04
professionalden2k8818-Sep-15 2:04 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Member 1070767721-Sep-15 9:08
Member 1070767721-Sep-15 9:08 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
den2k8821-Sep-15 21:12
professionalden2k8821-Sep-15 21:12 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
Eddy Vluggen18-Sep-15 1:10
professionalEddy Vluggen18-Sep-15 1:10 
Slacker007 wrote:
My personal opinion is that you should use meaningful names.
You use what is appropriate.

I do not need a 255-char "meaningfull" variable name if it is only used twice. It makes stuff harder to read.

I do not need a "r" variable that is used everywhere.

If the scope is limited, limit the name. Large scopes should have longer names, for clarity.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Slacker00718-Sep-15 1:20
professionalSlacker00718-Sep-15 1:20 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Eddy Vluggen18-Sep-15 1:30
professionalEddy Vluggen18-Sep-15 1:30 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Slacker00718-Sep-15 1:56
professionalSlacker00718-Sep-15 1:56 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
CPallini18-Sep-15 1:23
mveCPallini18-Sep-15 1:23 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Slacker00718-Sep-15 1:24
professionalSlacker00718-Sep-15 1:24 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
V.18-Sep-15 1:25
professionalV.18-Sep-15 1:25 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
Amarnath S18-Sep-15 1:45
professionalAmarnath S18-Sep-15 1:45 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
Brady Kelly18-Sep-15 1:45
Brady Kelly18-Sep-15 1:45 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Jörgen Andersson18-Sep-15 2:04
professionalJörgen Andersson18-Sep-15 2:04 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Slacker00718-Sep-15 1:54
professionalSlacker00718-Sep-15 1:54 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
englebart21-Sep-15 8:58
professionalenglebart21-Sep-15 8:58 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
Brady Kelly21-Sep-15 9:05
Brady Kelly21-Sep-15 9:05 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
Jörgen Andersson18-Sep-15 1:47
professionalJörgen Andersson18-Sep-15 1:47 
GeneralRe: Question on variable naming style (i.e. r versus random) Pin
hakahme18-Sep-15 18:48
hakahme18-Sep-15 18:48 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
glennPattonWork318-Sep-15 1:55
professionalglennPattonWork318-Sep-15 1:55 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
OriginalGriff18-Sep-15 2:07
mveOriginalGriff18-Sep-15 2:07 
AnswerRe: Question on variable naming style (i.e. r versus random) Pin
Ravi Bhavnani18-Sep-15 2:26
professionalRavi Bhavnani18-Sep-15 2:26 

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.