Click here to Skip to main content
16,017,151 members

Survey Results

Is support for inheriting from two or more classes a Good or Bad thing?   [Edit]

Survey period: 10 Apr 2005 to 16 Apr 2005

We can inherit from multiple interfaces in .NET but not from multiple classes. (suggested by Kamarey)

OptionVotes% 
It's Good Thing43335.46
It depends47638.98
It's a Bad Thing31225.55



 
GeneralDepends Pin
Navin11-Apr-05 3:09
Navin11-Apr-05 3:09 
GeneralDr Stroustrup's opinion Pin
Nemanja Trifunovic11-Apr-05 2:43
Nemanja Trifunovic11-Apr-05 2:43 
GeneralRe: Dr Stroustrup's opinion Pin
Nish Nishant11-Apr-05 6:02
sitebuilderNish Nishant11-Apr-05 6:02 
GeneralRe: Dr Stroustrup's opinion Pin
David Levitt (Myrddin)11-Apr-05 12:02
David Levitt (Myrddin)11-Apr-05 12:02 
GeneralRe: Dr Stroustrup's opinion Pin
Anonymous15-Apr-05 2:28
Anonymous15-Apr-05 2:28 
GeneralRe: Dr Stroustrup's opinion Pin
Nemanja Trifunovic12-Apr-05 3:10
Nemanja Trifunovic12-Apr-05 3:10 
GeneralRe: Dr Stroustrup's opinion Pin
David Wulff12-Apr-05 3:53
David Wulff12-Apr-05 3:53 
GeneralInterfaces are not substitutes for MI... Pin
Daniel Turini10-Apr-05 23:20
Daniel Turini10-Apr-05 23:20 
Sometimes MI is abused, but that does not mean that MI should be abolished. Some people often argue that interfaces can replace MI.
That's simply not true: this is the same as saying that interfaces can replace inheritance! If we believe in MI replacement by interfaces, what's special about the 2nd or 3rd class to derive from? Nothing. So, inheritance should never be allowed (BTW, single inheritance can also be abused): all classes should only be defined by the interfaces it implements.


I see dead pixels
Yes, even I am blogging now!
GeneralRe: Interfaces are not substitutes for MI... Pin
Vikram A Punathambekar11-Apr-05 2:43
Vikram A Punathambekar11-Apr-05 2:43 
GeneralRe: Interfaces are not substitutes for MI... Pin
Nemanja Trifunovic11-Apr-05 2:59
Nemanja Trifunovic11-Apr-05 2:59 
GeneralRe: Interfaces are not substitutes for MI... Pin
Vikram A Punathambekar11-Apr-05 6:03
Vikram A Punathambekar11-Apr-05 6:03 
GeneralI voted good, but.... Pin
Christian Graus10-Apr-05 12:28
protectorChristian Graus10-Apr-05 12:28 
GeneralRe: I voted good, but.... Pin
Toby Opferman10-Apr-05 16:17
Toby Opferman10-Apr-05 16:17 
GeneralRe: I voted good, but.... Pin
Bob Stanneveld10-Apr-05 21:20
Bob Stanneveld10-Apr-05 21:20 
GeneralRe: I voted good, but.... Pin
Toby Opferman10-Apr-05 23:04
Toby Opferman10-Apr-05 23:04 
GeneralRe: I voted good, but.... Pin
Aza11-Apr-05 2:22
Aza11-Apr-05 2:22 
GeneralRe: I voted good, but.... Pin
Giancarlo Aguilera11-Apr-05 4:51
Giancarlo Aguilera11-Apr-05 4:51 
GeneralRe: I voted good, but.... Pin
Toby Opferman11-Apr-05 7:07
Toby Opferman11-Apr-05 7:07 
GeneralRe: I voted good, but.... Pin
Aza11-Apr-05 21:12
Aza11-Apr-05 21:12 
GeneralRe: I voted good, but.... Pin
Bob Stanneveld11-Apr-05 4:15
Bob Stanneveld11-Apr-05 4:15 
GeneralRe: I voted good, but.... Pin
Toby Opferman11-Apr-05 9:03
Toby Opferman11-Apr-05 9:03 
GeneralRe: I voted good, but.... Pin
KevinHall11-Apr-05 5:12
KevinHall11-Apr-05 5:12 
GeneralRe: I voted good, but.... Pin
Toby Opferman11-Apr-05 7:05
Toby Opferman11-Apr-05 7:05 
GeneralRe: I voted good, but.... Pin
KevinHall11-Apr-05 7:25
KevinHall11-Apr-05 7:25 
GeneralRe: I voted good, but.... Pin
Toby Opferman11-Apr-05 7:55
Toby Opferman11-Apr-05 7: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.