codymanix said:
compiler up
There was a lot of people saying some things were stupid, and at a later
time it was recognized that this ideas were not so stupid at all.
For example the developers of java found when they designed the language
that enums were stupid at all. now they recognized this mistake and are
trying to integrate them in the new java versions.
Stupid isn't the issue here, IMHO. I'll accept that its a decent shortcut,
it is simply something I think of as an abberation. Perhaps at some point
someone will feel it needs to be added, there are already features slated
for C# 2.0 that I feel shouldn't be there, but that is irrelevent.
I don't feel the feature is stupid, I just feel its a feature that shouldn't
be in the language, a feature that would be damaging and against the
language philosophy. Part of the reason .NET is designed the way it has been
is the simple understanding that no one language can ever be perfect. Every
one will have problems, every one will have nice features and every one will
be missing a feature that you enjoy immensely in another language. A
language that takes EVERY good idea from EVERY language will likely end up
far more complicated than anything in existance. Some level of filter has to
exist, some level where the feature must be before its of value. This is a
feature I don't think merits inclusion, a feature that doesn't make it up to
that level. It adds complexity for virtually no benifit while intellisense
will allow the vast majority of people to use a very similar feature without
*any* complication to the language. Most features should exist as libraries,
IDE's, and pre-parsers, not as additions to the language. You could use a
pre-parser here, granted, if MS would provide a C# parser library as well as
a capable compile time API, it would be easier to do. One would hope MSBuild
allows a way to run tools across files as they are compiled, etc. I'd
actually rather the compiler team spent its time writing that kind of parser
library than adding features like this.
--
cody
[Freeware, Games and Humor]
www.deutronium.de.vu ||
www.deutronium.tk