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



 
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 
Actually that code wouldn't compile in C or C++. You have just proved u know neither language! Smile | :)

I think you wanted to do this:

enum A
{
X,
Y,
Z
};

enum a
{
x,
y,
z
};

enum A someFunc()
{
enum a a_=x;

return a_;
}

And this doesn't really prove anything beyond C++ has stricter type checking than C. This does not change the overall picture. We can point out hundereds of differences, we can even throw in K&R C style and compare it to ANSI C style, the little differences don't really mean much. I'm talking about the overall picture that everyone agrees with, C++ came from C and thus at some level they have similarities. Those similarities are what I am refering to, not little compiler differences.


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 
GeneralRe: I voted good, but.... Pin
Alexandru Savescu11-Apr-05 3:18
Alexandru Savescu11-Apr-05 3:18 
GeneralRe: I voted good, but.... Pin
Anonymous15-Apr-05 2:47
Anonymous15-Apr-05 2:47 
GeneralRe: I voted good, but.... Pin
Toby Opferman15-Apr-05 15:53
Toby Opferman15-Apr-05 15:53 
GeneralI would have said it depends.... Pin
Briball10-Apr-05 12:26
Briball10-Apr-05 12:26 
GeneralWhy no MI present in C#? Pin
Joel Holdsworth10-Apr-05 6:11
Joel Holdsworth10-Apr-05 6:11 
GeneralRe: Why no MI present in C#? Pin
Nemanja Trifunovic11-Apr-05 3:04
Nemanja Trifunovic11-Apr-05 3:04 
GeneralRe: Why no MI present in C#? Pin
Joel Holdsworth11-Apr-05 22:49
Joel Holdsworth11-Apr-05 22:49 
GeneralRe: Why no MI present in C#? Pin
Turtle Hand11-Apr-05 3:05
Turtle Hand11-Apr-05 3:05 
GeneralRe: Why no MI present in C#? Pin
Alexandru Savescu11-Apr-05 3:13
Alexandru Savescu11-Apr-05 3:13 
GeneralRe: Why no MI present in C#? Pin
Nemanja Trifunovic11-Apr-05 3:25
Nemanja Trifunovic11-Apr-05 3:25 
GeneralRe: Why no MI present in C#? Pin
Bamaco211-Apr-05 5:38
Bamaco211-Apr-05 5:38 
GeneralAs with all things Pin
Michael P Butler10-Apr-05 3:16
Michael P Butler10-Apr-05 3:16 
GeneralRe: As with all things Pin
patnsnaudy10-Apr-05 5:42
patnsnaudy10-Apr-05 5:42 

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.