Click here to Skip to main content
14,492,338 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: Another code for thought: public members Pin
Super Lloyd30-Oct-18 1:19
MemberSuper Lloyd30-Oct-18 1:19 
GeneralRe: Another code for thought: public members Pin
Eric Lynch30-Oct-18 2:30
mvaEric Lynch30-Oct-18 2:30 
GeneralRe: Another code for thought: public members Pin
Marc Clifton30-Oct-18 2:39
mvaMarc Clifton30-Oct-18 2:39 
GeneralRe: Another code for thought: public members Pin
RandyBuchholz30-Oct-18 4:56
MemberRandyBuchholz30-Oct-18 4:56 
GeneralRe: Another code for thought: public members Pin
RandyBuchholz30-Oct-18 4:04
MemberRandyBuchholz30-Oct-18 4:04 
GeneralRe: Another code for thought: public members Pin
David Crow30-Oct-18 4:17
MemberDavid Crow30-Oct-18 4:17 
GeneralRe: Another code for thought: public members Pin
patbob30-Oct-18 6:01
Memberpatbob30-Oct-18 6:01 
GeneralRe: Another code for thought: public members Pin
Gary Wheeler30-Oct-18 6:03
MemberGary Wheeler30-Oct-18 6:03 
The down side to having a lot of members public is that not only do the users have those buttons and knobs to turn, they may think they have to. Every public member is a decision for the user: do I have to set this, or does it default? Is the default what I want? When do I have to set it?

You need to decide if your typical use case needs the flexibility. If it doesn't, then I'd argue that those members should be private.
Software Zen: delete this;

GeneralRe: Another code for thought: public members Pin
Mark_Wallace30-Oct-18 22:28
MemberMark_Wallace30-Oct-18 22:28 
GeneralWSO CCC OTD 2018-10-30 Pin
OriginalGriff29-Oct-18 22:57
mveOriginalGriff29-Oct-18 22:57 
AnswerRe: WSO CCC OTD 2018-10-30 Pin
"mega"-in-a-fake-beard29-Oct-18 23:15
professional"mega"-in-a-fake-beard29-Oct-18 23:15 
GeneralRe: WSO CCC OTD 2018-10-30 - We have a winner! Pin
OriginalGriff29-Oct-18 23:18
mveOriginalGriff29-Oct-18 23:18 
GeneralRe: WSO CCC OTD 2018-10-30 Pin
Mark Parity29-Oct-18 23:15
MemberMark Parity29-Oct-18 23:15 
GeneralRe: WSO CCC OTD 2018-10-30 Pin
OriginalGriff29-Oct-18 23:19
mveOriginalGriff29-Oct-18 23:19 
GeneralC# code survey Pin
Super Lloyd29-Oct-18 21:37
MemberSuper Lloyd29-Oct-18 21:37 
GeneralRe: C# code survey Pin
Jacquers29-Oct-18 21:56
MemberJacquers29-Oct-18 21:56 
GeneralRe: C# code survey Pin
#realJSOP30-Oct-18 6:08
mva#realJSOP30-Oct-18 6:08 
GeneralRe: C# code survey Pin
Wastedtalent29-Oct-18 22:04
professionalWastedtalent29-Oct-18 22:04 
GeneralRe: C# code survey Pin
CPallini29-Oct-18 22:06
mveCPallini29-Oct-18 22:06 
GeneralRe: C# code survey Pin
Jörgen Andersson29-Oct-18 22:23
professionalJörgen Andersson29-Oct-18 22:23 
GeneralRe: C# code survey Pin
CPallini29-Oct-18 22:37
mveCPallini29-Oct-18 22:37 
GeneralRe: C# code survey Pin
GuyThiebaut29-Oct-18 22:13
professionalGuyThiebaut29-Oct-18 22:13 
GeneralRe: C# code survey Pin
Jörgen Andersson29-Oct-18 22:21
professionalJörgen Andersson29-Oct-18 22:21 
GeneralRe: C# code survey Pin
GKP199229-Oct-18 23:05
professionalGKP199229-Oct-18 23:05 
GeneralRe: C# code survey Pin
thatraja29-Oct-18 23:18
professionalthatraja29-Oct-18 23:18 

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.