473,757 Members | 10,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1157
c# - multiple inheritance
vs - just fix the bugs please

"Johann Blake" <jo*********@ya hoo.com> wrote in message
news:11******** *************@g 43g2000cwa.goog legroups.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*********@c1 s.com.au> wrote in message
news:eh******** ******@tk2msftn gp13.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*********@ya hoo.com> wrote in message
news:eR******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP09.phx.gbl...
"Radek Cerny" <ra*********@c1 s.com.au> wrote in message
news:eh******** ******@tk2msftn gp13.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*********@c1 s.com.au> wrote in message
news:uQ******** ******@tk2msftn gp13.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******** ******@TK2MSFTN GP09.phx.gbl...
| > "Radek Cerny" <ra*********@c1 s.com.au> wrote in message
| > news:eh******** ******@tk2msftn gp13.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
19136
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 any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
54
6574
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 FRICKIN' COOL!!! ***MAN*** that would save me a buttload of work and make my life sooooo much easier!" As opposed to minor differences of this feature here, that feature there. Variations on style are of no interest to me. I'm coming at this from a...
226
12653
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 "help", "copyright", "credits" or "license" for more information. >>> d1 = {'a':1} >>> d2 = {'b':2} >>> d3 = {'c':3}
92
6521
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? cheers, reed
125
14831
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 software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
86
7797
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: http://www.clagnut.com/blog/348/ I hope that's going to be a good discussion! Michael
46
4246
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 believe MSFT should do to improve C#, however. I know that in the "Whidbey" release of VS.NET currently
23
1900
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 could be a tedious process though) but I haven't been able to pick up the practical advantages of XAML. From my assessment, XAML will provide separation of UI logic from business rules/procedures for applications. It seems like an HTML of sorts for...
63
4795
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 be used. I'm wondering, If I wanted all the content of BODY as a string, how else could I get except through innerHTML?
132
4643
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 community. It would seem that C99 is the most up-to-date Standard, but far more people seem to be working off the C89 Standard. Could someone please explain to me why this is so? --
0
10072
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9906
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8737
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7286
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6562
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5172
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3829
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2698
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.