Click here to Skip to main content
15,881,281 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: A programming question Pin
David O'Neil23-Sep-20 21:34
professionalDavid O'Neil23-Sep-20 21:34 
GeneralRe: A programming question Pin
Rage23-Sep-20 21:37
professionalRage23-Sep-20 21:37 
GeneralRe: A programming question Pin
David O'Neil23-Sep-20 21:39
professionalDavid O'Neil23-Sep-20 21:39 
GeneralRe: A programming question Pin
Shao Voon Wong23-Sep-20 21:55
mvaShao Voon Wong23-Sep-20 21:55 
GeneralRe: A programming question Pin
David O'Neil23-Sep-20 22:01
professionalDavid O'Neil23-Sep-20 22:01 
GeneralRe: A programming question Pin
Arthur V. Ratz23-Sep-20 22:09
professionalArthur V. Ratz23-Sep-20 22:09 
GeneralRe: A programming question Pin
Nemanja Trifunovic24-Sep-20 3:13
Nemanja Trifunovic24-Sep-20 3:13 
GeneralRe: A programming question Pin
RustyF24-Sep-20 20:56
RustyF24-Sep-20 20:56 
At the end of the day, it’s a way to implement your public interface to the world without your clients being exposed to the details. You have many options to implement that interface; code directly in the class, delegating to others (composition) or inheriting it.
Imagine parallel universes, there is the public one that clients exist in and another that the non-public stuff lives in. Both (potentially) have a need for inheritance either to represent a natural taxonomy (CheckingAccount isa Account, etc) or for reuse (Account inherits Persistent, Equatable). I say “potentially” because out of all the ways to implement your public interface, inheritance is by far the worst in my opinion - it’s the road to spaghetti code Wink | ;) .
GeneralRe: A programming question Pin
giulicard24-Sep-20 22:01
giulicard24-Sep-20 22:01 
GeneralRe: A programming question Pin
Stuart Dootson24-Sep-20 23:13
professionalStuart Dootson24-Sep-20 23:13 
GeneralRe: A programming question Pin
patbob28-Sep-20 14:17
patbob28-Sep-20 14:17 
GeneralRe: A programming question Pin
David O'Neil28-Sep-20 15:49
professionalDavid O'Neil28-Sep-20 15:49 
GeneralRe: A programming question Pin
charlieg29-Sep-20 2:24
charlieg29-Sep-20 2:24 
GeneralScratching Goethe... Pin
Kornfeld Eliyahu Peter23-Sep-20 20:04
professionalKornfeld Eliyahu Peter23-Sep-20 20:04 
GeneralRe: Scratching Goethe... Pin
David O'Neil23-Sep-20 20:23
professionalDavid O'Neil23-Sep-20 20:23 
GeneralThought of the Day Pin
OriginalGriff23-Sep-20 4:24
mveOriginalGriff23-Sep-20 4:24 
GeneralRe: Thought of the Day Pin
jeron123-Sep-20 5:06
jeron123-Sep-20 5:06 
GeneralRe: Thought of the Day Pin
W Balboos, GHB23-Sep-20 5:37
W Balboos, GHB23-Sep-20 5:37 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer23-Sep-20 6:12
professionalDaniel Pfeffer23-Sep-20 6:12 
GeneralRe: Thought of the Day Pin
Sandeep Mewara23-Sep-20 8:23
mveSandeep Mewara23-Sep-20 8:23 
GeneralRe: Thought of the Day Pin
DRHuff23-Sep-20 9:21
DRHuff23-Sep-20 9:21 
GeneralRe: Thought of the Day Pin
Stefan_Lang23-Sep-20 23:15
Stefan_Lang23-Sep-20 23:15 
GeneralRe: Thought of the Day Pin
Johnny J.23-Sep-20 23:48
professionalJohnny J.23-Sep-20 23:48 
GeneralRe: Thought of the Day Pin
Rich Leyshon23-Sep-20 23:35
Rich Leyshon23-Sep-20 23:35 
General25 years of programming reduced to a question. PinPopular
Jeremy Falcon23-Sep-20 2:33
professionalJeremy Falcon23-Sep-20 2:33 

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.