Click here to Skip to main content
15,916,215 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: Is this an acceptable practice? Pin
Dan Neely14-Apr-14 3:35
Dan Neely14-Apr-14 3:35 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 6:06
Colborne_Greg14-Apr-14 6:06 
GeneralRe: Is this an acceptable practice? Pin
Dan Neely14-Apr-14 7:15
Dan Neely14-Apr-14 7:15 
AnswerRe: Is this an acceptable practice? Pin
Gates VP14-Apr-14 5:37
Gates VP14-Apr-14 5:37 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 6:04
Colborne_Greg14-Apr-14 6:04 
GeneralRe: Is this an acceptable practice? Pin
Gates VP14-Apr-14 7:51
Gates VP14-Apr-14 7:51 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 7:55
Colborne_Greg14-Apr-14 7:55 
GeneralRe: Is this an acceptable practice? Pin
Gates VP14-Apr-14 9:01
Gates VP14-Apr-14 9:01 
Quote:
...datamember so many times with the word private seems to be a waste of space.


Your own words literally say that you are worried about "wasting space". Now you've changed it slightly:

Quote:
The intent is white space and readability not saving space.


You're worried about "wasting space" but only for some very specific and narrow scope of "wasting". And in this particular case, you're worried about "small waste" vs. "absolute clarity" which seems like a pretty lame trade-off.

The fact that anyone had to question whether or not the attribute applied to all the variables means that you failed the "readability" test. Your goal of "readability" actually resulted in this code being hard to read and possibly being "unclear" to people who were not experts in this very narrow language feature.
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 9:33
Colborne_Greg14-Apr-14 9:33 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 9:45
Colborne_Greg14-Apr-14 9:45 
GeneralRe: Is this an acceptable practice? Pin
Member 929572315-Apr-14 2:54
Member 929572315-Apr-14 2:54 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg15-Apr-14 4:24
Colborne_Greg15-Apr-14 4:24 
GeneralRe: Is this an acceptable practice? Pin
Dave Kreskowiak14-Apr-14 9:15
mveDave Kreskowiak14-Apr-14 9:15 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 9:31
Colborne_Greg14-Apr-14 9:31 
GeneralRe: Is this an acceptable practice? Pin
Fabio Franco14-Apr-14 6:15
professionalFabio Franco14-Apr-14 6:15 
GeneralRe: Is this an acceptable practice? Pin
Gates VP14-Apr-14 7:42
Gates VP14-Apr-14 7:42 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 7:49
Colborne_Greg14-Apr-14 7:49 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 7:48
Colborne_Greg14-Apr-14 7:48 
GeneralRe: Is this an acceptable practice? Pin
dg6yhw1114-Apr-14 6:41
dg6yhw1114-Apr-14 6:41 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 7:39
Colborne_Greg14-Apr-14 7:39 
Generalneed help from people from the lounge Pin
Vasily Tserekh12-Apr-14 11:43
Vasily Tserekh12-Apr-14 11:43 
GeneralRe: need help from people from the lounge Pin
DaveAuld12-Apr-14 12:18
professionalDaveAuld12-Apr-14 12:18 
GeneralRe: need help from people from the lounge Pin
BillWoodruff12-Apr-14 16:40
professionalBillWoodruff12-Apr-14 16:40 
GeneralRe: need help from people from the lounge Pin
Vasily Tserekh12-Apr-14 19:04
Vasily Tserekh12-Apr-14 19:04 
GeneralRe: need help from people from the lounge Pin
JimmyRopes12-Apr-14 23:02
professionalJimmyRopes12-Apr-14 23:02 

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.