Click here to Skip to main content
14,765,693 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: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray23-May-19 7:36
MemberDavid A. Gray23-May-19 7:36 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
DerekT-P23-May-19 1:22
professionalDerekT-P23-May-19 1:22 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Gary Wheeler23-May-19 2:38
MemberGary Wheeler23-May-19 2:38 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
User 483504723-May-19 6:37
MemberUser 483504723-May-19 6:37 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Gary Wheeler23-May-19 6:48
MemberGary Wheeler23-May-19 6:48 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray23-May-19 7:32
MemberDavid A. Gray23-May-19 7:32 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Gary Wheeler23-May-19 9:10
MemberGary Wheeler23-May-19 9:10 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
jsc4225-May-19 9:29
professionaljsc4225-May-19 9:29 
Gary Wheeler wrote:
This is a useful feature. It lets you implement an interface change piecemeal, rather than forcing you to implement the change in one great steaming pile

You are right! Making a tiny mod to an existing interface means every use of the interface in dozens of locations needs to be updated. Having a default method would mean that no changes to existing code would be needed. Only code that wanted to exploit the new feature(s) need implement the new method(s). Of course, you can avoid this already by creating a new interface that inherits the old one and just converting occasions that need the new methods from the old interface name to the new interface name.
GeneralThought of the Day Pin
OriginalGriff22-May-19 5:56
mveOriginalGriff22-May-19 5:56 
GeneralRe: Thought of the Day Pin
W Balboos, GHB22-May-19 6:10
mveW Balboos, GHB22-May-19 6:10 
GeneralRe: Thought of the Day Pin
megaadam22-May-19 6:11
professionalmegaadam22-May-19 6:11 
GeneralRe: Thought of the Day Pin
Nagy Vilmos22-May-19 6:15
professionalNagy Vilmos22-May-19 6:15 
GeneralRe: Thought of the Day Pin
OriginalGriff22-May-19 6:24
mveOriginalGriff22-May-19 6:24 
GeneralRe: Thought of the Day Pin
PeejayAdams22-May-19 6:33
MemberPeejayAdams22-May-19 6:33 
GeneralRe: Thought of the Day Pin
OriginalGriff22-May-19 6:38
mveOriginalGriff22-May-19 6:38 
GeneralRe: Thought of the Day Pin
PeejayAdams22-May-19 6:45
MemberPeejayAdams22-May-19 6:45 
GeneralRe: Thought of the Day Pin
OriginalGriff22-May-19 6:51
mveOriginalGriff22-May-19 6:51 
GeneralRe: Thought of the Day Pin
PeejayAdams22-May-19 6:59
MemberPeejayAdams22-May-19 6:59 
GeneralRe: Thought of the Day Pin
OriginalGriff22-May-19 7:00
mveOriginalGriff22-May-19 7:00 
GeneralRe: Thought of the Day Pin
W Balboos, GHB22-May-19 7:33
mveW Balboos, GHB22-May-19 7:33 
GeneralRe: Thought of the Day Pin
TNCaver22-May-19 7:24
MemberTNCaver22-May-19 7:24 
GeneralRe: Thought of the Day Pin
Mike Hankey22-May-19 12:05
professionalMike Hankey22-May-19 12:05 
GeneralWhining. Warning. Pin
W Balboos, GHB22-May-19 5:46
mveW Balboos, GHB22-May-19 5:46 
GeneralRe: Whining. Warning. Pin
Nagy Vilmos22-May-19 5:51
professionalNagy Vilmos22-May-19 5:51 
GeneralRe: Whining. Warning. Pin
glennPattonContracting222-May-19 5:55
professionalglennPattonContracting222-May-19 5:55 

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.