Click here to Skip to main content
16,013,465 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



 
GeneralItwould help a lot! Pin
Anonymous15-Apr-05 13:22
Anonymous15-Apr-05 13:22 
GeneralInteresting observation Pin
afinnell15-Apr-05 8:11
afinnell15-Apr-05 8:11 
GeneralRe: Interesting observation Pin
George15-Apr-05 9:26
George15-Apr-05 9:26 
GeneralRe: Interesting observation Pin
afinnell15-Apr-05 11:23
afinnell15-Apr-05 11:23 
GeneralRe: Interesting observation Pin
George15-Apr-05 12:08
George15-Apr-05 12:08 
I was just demonstrating a simple solution to your "problem" that supposedly prevented MI support in C#. Of course MI works best if you inherit from orthogonal classes (e.g. policy based design) in which case it's unlikely to get into the trouble you're describing. And if you do then you can just resolve ambiguity either by casting or changing the names so they don't clash or whatever.

All in all it's not a big problem.

<center> /* I C++, therefore I am... */ </center>

GeneralRe: Interesting observation Pin
afinnell15-Apr-05 13:33
afinnell15-Apr-05 13:33 
GeneralRe: Interesting observation Pin
Joaquín M López Muñoz16-Apr-05 1:37
Joaquín M López Muñoz16-Apr-05 1:37 
GeneralRe: Interesting observation Pin
Anonymous16-Apr-05 17:04
Anonymous16-Apr-05 17:04 
GeneralI miss MI... Pin
Stan Shannon12-Apr-05 5:47
Stan Shannon12-Apr-05 5:47 
GeneralRe: I miss MI... Pin
Kevin McFarlane12-Apr-05 9:28
Kevin McFarlane12-Apr-05 9:28 
GeneralKISS, anyone? Pin
Salil Khedkar12-Apr-05 2:27
Salil Khedkar12-Apr-05 2:27 
GeneralRe: KISS, anyone? Pin
Nitron13-Apr-05 3:17
Nitron13-Apr-05 3:17 
GeneralRe: KISS, anyone? Pin
mlkeS13-Apr-05 14:46
mlkeS13-Apr-05 14:46 
GeneralRe: KISS, anyone? Pin
David Wulff14-Apr-05 3:49
David Wulff14-Apr-05 3:49 
Generalinterfaces don't replace MI (bis) Pin
toxcct11-Apr-05 23:04
toxcct11-Apr-05 23:04 
GeneralNo more wishy-washy answers Pin
Shog911-Apr-05 12:49
sitebuilderShog911-Apr-05 12:49 
GeneralRe: No more wishy-washy answers Pin
TheGlynn11-Apr-05 22:05
TheGlynn11-Apr-05 22:05 
GeneralRe: No more wishy-washy answers Pin
/\/\ATR|><11-Apr-05 22:26
/\/\ATR|><11-Apr-05 22:26 
GeneralRe: No more wishy-washy answers Pin
Andrew Torrance12-Apr-05 0:45
Andrew Torrance12-Apr-05 0:45 
GeneralLet your code run wild and free, because as the old saying goes, &quot;Let your code run wild and free&quot; Pin
Shog912-Apr-05 5:07
sitebuilderShog912-Apr-05 5:07 
GeneralRe: Let your code run wild and free, because as the old saying goes, &quot;Let your code run wild and free&quot; Pin
Stan Shannon12-Apr-05 5:51
Stan Shannon12-Apr-05 5:51 
GeneralRe: No more wishy-washy answers Pin
Alvaro Mendez12-Apr-05 7:07
Alvaro Mendez12-Apr-05 7:07 
GeneralRe: No more wishy-washy answers Pin
WoR12-Apr-05 21:58
WoR12-Apr-05 21:58 
GeneralRe: No more wishy-washy answers Pin
David Nash12-Apr-05 17:50
David Nash12-Apr-05 17:50 
GeneralLess is not more Pin
George11-Apr-05 12:28
George11-Apr-05 12:28 

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.