Click here to Skip to main content
16,017,069 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
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 
Toby Opferman wrote:
The syntax of the language should not dictate a good design. As an example, anyone who understands procedural programming can program that way in C or C++. I see no reason why they couldn't

Because someone can doesn't mean they should! Besides that if you design towards a certain pattern, why not use the right language to enforce that pattern?


Toby Opferman wrote:
Also, unfortunately C++ *IS* a superset of C. This does provide low level implementation and attempts to give you higher level constructs at a cost of contradictions in the language architecture.

I don't know where you heard that, but you can read this[^] and see that C++ started as a superset of C, but nowdays is a complete different language that supports the same syntax. Example: in C you can do a typecast like this (SomeVar* pVar = (SomeVar*) pOtherVar;) You can do that in C++ too, but it is fundamentally wrong.


I also got the blogging virus..[^]
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 
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 

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.