Click here to Skip to main content
14,212,087 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Nathan Minier22-May-19 9:24
professionalNathan Minier22-May-19 9:24 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray22-May-19 9:29
groupDavid A. Gray22-May-19 9:29 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Nathan Minier23-May-19 2:16
professionalNathan Minier23-May-19 2:16 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray23-May-19 6:13
groupDavid A. Gray23-May-19 6:13 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Nathan Minier23-May-19 7:33
professionalNathan Minier23-May-19 7:33 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray23-May-19 7:43
groupDavid A. Gray23-May-19 7:43 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Nathan Minier28-May-19 1:47
professionalNathan Minier28-May-19 1:47 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray22-May-19 8:56
groupDavid A. Gray22-May-19 8:56 
Quote:
Sure, except that you can inherit multiple interfaces and you still can't instantiate one without an implementation.


Depending on how it is defined, it is possible to inherit an abstract class. Two cases in point are List<T> and Dictionary<object,object>. After all, generics are, for all practical purposes, abstract classes.

Quote:
Architecturally, they still have highly different uses.


About that, I agree, so why muddy the waters with this new construct that is half interface and half virtual method?
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Chris Maunder22-May-19 6:53
adminChris Maunder22-May-19 6:53 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray22-May-19 8:42
groupDavid A. Gray22-May-19 8:42 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Matthew Dennis22-May-19 9:51
adminMatthew Dennis22-May-19 9:51 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
0x01AA22-May-19 10:50
professional0x01AA22-May-19 10:50 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Matthew Dennis22-May-19 10:52
adminMatthew Dennis22-May-19 10:52 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Jörgen Andersson22-May-19 12:28
protectorJörgen Andersson22-May-19 12:28 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Dean Roddey22-May-19 7:12
memberDean Roddey22-May-19 7:12 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Urban Cricket22-May-19 7:26
memberUrban Cricket22-May-19 7:26 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray22-May-19 8:41
groupDavid A. Gray22-May-19 8:41 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Dean Roddey22-May-19 8:48
memberDean Roddey22-May-19 8:48 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
PIEBALDconsult22-May-19 9:16
protectorPIEBALDconsult22-May-19 9:16 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Dean Roddey22-May-19 9:31
memberDean Roddey22-May-19 9:31 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
#realJSOP22-May-19 9:14
mve#realJSOP22-May-19 9:14 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
David A. Gray22-May-19 9:18
groupDavid A. Gray22-May-19 9:18 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Matthew Dennis22-May-19 9:56
adminMatthew Dennis22-May-19 9:56 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Dean Roddey22-May-19 9:52
memberDean Roddey22-May-19 9:52 
GeneralRe: Blurring the Lines Between Interfaces and Abstract Classes Pin
Urban Cricket22-May-19 9:47
memberUrban Cricket22-May-19 9:47 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190619.2 | Last Updated 20 Jun 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid