Click here to Skip to main content
16,007,809 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# - language design by committee ??? Pin
Kevin McFarlane23-Jul-02 2:27
Kevin McFarlane23-Jul-02 2:27 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 12:13
protectorChristian Graus22-Jul-02 12:13 
GeneralRe: C# - language design by committee ??? Pin
Andy Smith22-Jul-02 13:51
Andy Smith22-Jul-02 13:51 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 13:55
protectorChristian Graus22-Jul-02 13:55 
GeneralRe: C# - language design by committee ??? Pin
Andy Smith22-Jul-02 15:54
Andy Smith22-Jul-02 15:54 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 16:42
protectorChristian Graus22-Jul-02 16:42 
GeneralRe: C# - language design by committee ??? Pin
Kevin McFarlane23-Jul-02 2:18
Kevin McFarlane23-Jul-02 2:18 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus23-Jul-02 12:19
protectorChristian Graus23-Jul-02 12:19 
Kevin McFarlane wrote:
I don't think that wanting clear and simple syntax makes one stupid.

I don't disagree at all. I would be disappointed, for example, if macros made it into C#. They are always a source of ugliness and illegibility. The point at hand is that I believe const is a very useful keyword and that C# seems to have dumbed it down, according to Eric from Microsoft because it was too much work to get it to work in the manner I would like and most C++ programmers would expect.

Kevin McFarlane wrote:
However, in the case of C# it appears to be due to complications in having .NET be multi-language.

The thing is, there are things that the compiler enforces rather than the CLR. For example, the difference between ref and out. That being the case, why can't the compiler enforce const ? It just needs to see if an attempt is made to change the value.....

Kevin McFarlane wrote:
However, if we take your argument seriously, one might as well ask why C# was not made identical to C++?

Not at all - it adds many cool things, and takes away some dumb ones ( such as macros ). I think it suffers from 'everything is an object' at times, but I can live with that. I think you have to cast too much, Eric tells me the C# team agrees. I do think that const is a serious oversight though.

Kevin McFarlane wrote:
Undoubtedly, they would have been less appealing if they'd used a new syntax.

I think it makes the initial learning curve less, but being more similar yet not the same is the source of a lot of frustration. However, there is no point in change for changes sake, I think that's just the learning curve I am on, having all too little time to spend on C# at the moment.



Christian

come on all you MS suckups, defend your sugar-daddy now. - Chris Losinger - 11/07/2002
GeneralRe: C# - language design by committee ??? Pin
Kevin McFarlane24-Jul-02 1:33
Kevin McFarlane24-Jul-02 1:33 
GeneralRe: C# - language design by committee ??? Pin
Eric Gunnerson (msft)22-Jul-02 13:46
Eric Gunnerson (msft)22-Jul-02 13:46 
AnswerRe: C# - language design by committee ??? Pin
Rama Krishna Vavilala22-Jul-02 16:45
Rama Krishna Vavilala22-Jul-02 16:45 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus22-Jul-02 17:19
protectorChristian Graus22-Jul-02 17:19 
GeneralC# string to c++ char* Pin
[Shadow]21-Jul-02 12:37
[Shadow]21-Jul-02 12:37 
GeneralRe: C# string to c++ char* Pin
jparsons21-Jul-02 12:41
jparsons21-Jul-02 12:41 
GeneralRe: C# string to c++ char* Pin
Rama Krishna Vavilala21-Jul-02 14:22
Rama Krishna Vavilala21-Jul-02 14:22 
GeneralRe: C# string to c++ char* Pin
A.A.22-Jul-02 10:14
A.A.22-Jul-02 10:14 
GeneralHowto?: display a notification Pin
Anonymous21-Jul-02 11:59
Anonymous21-Jul-02 11:59 
GeneralHowto?: display a notification Pin
Anonymous21-Jul-02 11:58
Anonymous21-Jul-02 11:58 
GeneralButtons in Windows Forms Pin
swpo21-Jul-02 8:48
swpo21-Jul-02 8:48 
GeneralRe: Buttons in Windows Forms Pin
jparsons21-Jul-02 12:43
jparsons21-Jul-02 12:43 
GeneralRe: Buttons in Windows Forms Pin
James T. Johnson21-Jul-02 12:44
James T. Johnson21-Jul-02 12:44 
GeneralIs this OO Pin
ColinDavies20-Jul-02 23:18
ColinDavies20-Jul-02 23:18 
GeneralRe: Is this OO Pin
Kevin McFarlane21-Jul-02 5:12
Kevin McFarlane21-Jul-02 5:12 
GeneralRe: Is this OO Pin
ColinDavies21-Jul-02 7:08
ColinDavies21-Jul-02 7:08 
GeneralRe: Is this OO Pin
jparsons21-Jul-02 12:44
jparsons21-Jul-02 12:44 

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.