473,396 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

What ONE feature would you want in C# and VS?

If you had your wish and could have one (but only one) feature added to
C#, what would you ask for?

Second question. Same as the first question, but if the feature was for
Visual Studio .NET.

Nov 17 '05 #1
7 1144
c# - multiple inheritance
vs - just fix the bugs please

"Johann Blake" <jo*********@yahoo.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
If you had your wish and could have one (but only one) feature added to
C#, what would you ask for?

Second question. Same as the first question, but if the feature was for
Visual Studio .NET.

Nov 17 '05 #2
"Radek Cerny" <ra*********@c1s.com.au> wrote in message
news:eh**************@tk2msftngp13.phx.gbl...
c# - multiple inheritance


You might find some of these interesting...
http://www.dotnetspider.com/Question324.aspx
http://www.codeproject.com/csharp/smip.asp
http://msdn.microsoft.com/library/de...interinher.asp
http://forum.java.sun.com/thread.jsp...sageID=3776224
Nov 17 '05 #3
Why do you feel multiple inheritance is something important? What could
you give as a real-world example where some object inherits from 2
totally unrelated entities? Actually I just thought of one. The
tasmanian wolf! It is neither a wolf (or even from a dog family) nor is
it a cat, yet it is a masuipial and can behave like a kangaroo (no
kidding, it can hop on its hind legs). So there you go, a tasmanian wolf
object that inherits from a cat, a dog and kangaroo.

Best Regards
Johann Blake
*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #4
Why do you feel multiple inheritance is something important? What could
you give as a real-world example where some object inherits from 2
totally unrelated entities? Actually I just thought of one. The
tasmanian wolf! It is neither a wolf (or even from a dog family) nor is
it a cat, yet it is a masuipial and can behave like a kangaroo (no
kidding, it can hop on its hind legs). So there you go, a tasmanian wolf
object that inherits from a cat, a dog and kangaroo.
Best Regards
Johann Blake

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #5
Johann,

there was a signifcant thread about this recently - here's a quick cut/paste
job from my posts:

I had MI in a previous world (Gupta/Centura 4GL)
and I miss it dearly. Mind you I think that all in all, c# is pretty damn
good, but I can make several real cases where MI is the correct design/model
and would save a fair amount of duplication. I have pretty much given up
hope on ever seeing it in the CLR tho.

In my architecture, I keep 100% separation of business functionality from
presentation layer (Web Services connect a rich,thin client to functional
server objects). So I have two separate cases. Server-side, I have more
control over, as I do not use Datasets or such - my objects are built from
the ground up.
However, on the client, I must provide all controls that are capable of
talking my specific Web Service schema to the server, but I must inherit
from the standard WinForms controls. I have no choice but to replicate code
in a checkbox, textbox, radio button class etc. If I had MI, I would have
an abstract class that understood my schema, and all the window classes
would inherit from that as well as the .NET supplied standard Windows
classes. For now, I can only implement an interface, but there is much code
that is identical across controls.
Server-side, I would still like MI, but learned to live without it.
Philosophically, I can not understand those who do not appreciate MI; used
correctly, you can normalise your code base like you would normalise your
database.

Radek

"Johann Blake" <jo*********@yahoo.com> wrote in message
news:eR**************@TK2MSFTNGP12.phx.gbl...
Why do you feel multiple inheritance is something important? What could
you give as a real-world example where some object inherits from 2
totally unrelated entities? Actually I just thought of one. The
tasmanian wolf! It is neither a wolf (or even from a dog family) nor is
it a cat, yet it is a masuipial and can behave like a kangaroo (no
kidding, it can hop on its hind legs). So there you go, a tasmanian wolf
object that inherits from a cat, a dog and kangaroo.

Best Regards
Johann Blake
*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #6
Thanks, but been there, done that. I grew up having MI, and so I design
using MI. Unfortunately, I can not implement MI in .NET - the CLR will
probably never support it. I can deal with that - the OP was granting me a
wish.

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
"Radek Cerny" <ra*********@c1s.com.au> wrote in message
news:eh**************@tk2msftngp13.phx.gbl...
c# - multiple inheritance


You might find some of these interesting...
http://www.dotnetspider.com/Question324.aspx
http://www.codeproject.com/csharp/smip.asp
http://msdn.microsoft.com/library/de...interinher.asp
http://forum.java.sun.com/thread.jsp...sageID=3776224

Nov 17 '05 #7
Radek,
Have you looked at Eiffel.NET?

It supports multiple inheritance on .NET.

http://www.eiffel.com/

Hope this helps
Jay

"Radek Cerny" <ra*********@c1s.com.au> wrote in message
news:uQ**************@tk2msftngp13.phx.gbl...
| Thanks, but been there, done that. I grew up having MI, and so I design
| using MI. Unfortunately, I can not implement MI in .NET - the CLR will
| probably never support it. I can deal with that - the OP was granting me
a
| wish.
|
| "Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
| news:O0**************@TK2MSFTNGP09.phx.gbl...
| > "Radek Cerny" <ra*********@c1s.com.au> wrote in message
| > news:eh**************@tk2msftngp13.phx.gbl...
| >
| >> c# - multiple inheritance
| >
| > You might find some of these interesting...
| > http://www.dotnetspider.com/Question324.aspx
| > http://www.codeproject.com/csharp/smip.asp
| >
http://msdn.microsoft.com/library/de...interinher.asp
| > http://forum.java.sun.com/thread.jsp...sageID=3776224
| >
|
|
Nov 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
54
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
226
by: Stephen C. Waterbury | last post by:
This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) on linux2 Type...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
86
by: Michael Kalina | last post by:
Because when I asked for comments on my site-design (Remember? My site, your opinion!) some of you told me never to change anything on font-sizes! What do you guys think of that:...
46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
23
by: JDeats | last post by:
Just spent some time browsing around here: http://msdn.microsoft.com/Longhorn/ I can see the benefits from WinFS (as long as we tag all in-coming data this should be nice, tagging everything...
63
by: Jake Barnes | last post by:
In the course of my research I stumbled upon this article by Alex Russel and Tim Scarfe: http://www.developer-x.com/content/innerhtml/default.html The case is made that innerHTML should never...
132
by: Frederick Gotham | last post by:
If we look at a programming language such as C++: When an updated Standard comes out, everyone adopts it and abandons the previous one. It seems though that things aren't so clear-cut in the C...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.