You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Paulo Gaspar <Pa...@krankikom.de> on 2000/06/28 19:59:57 UTC
RE: C# (was: aspectJ (was Re: [PATCH] build events))
Yeah, I would call it "C pound" or "C heavy" instead of "C sharp".
It is not that small and simple anyway.
But, it is not just a Java inspirde language. It has Delphi
influences too:
- In Delphi one must use the "override" (instead of "overrides")
keyword to override a method, making the overrideing explicit. Of
course that M$ never mentions Delphi on their pages and only
compares that feature to Java and C++ in the front marketing page;
http://msdn.microsoft.com/vstudio/nextgen/technology/csharpintro.asp
- The "using" (to use a module) is quite similar to the "uses"
keyword in name and functionality. "Uses" is already old Borland
Turbo Pascal stuff (version 4);
- and the indexed properties... etc.
That influence is obvious too, since the architect of C# (Anders
Hejlsberg) was part of the initial Delphi team.
And the Delphi team sure knew Java since the start, as it gets obvious
by analizing some of the language features - like interfaces and
interface inheritance, that are similar even in declaration syntax
(the inheritance declaration, I mean).
Anyway, a competent language designer usualy knows many languages.
And I even like the language as having several improvements over C++,
Object Pascal and, arguably (because of low level stuff being
possible) Java. (Althought I would not allow any implicit type
conversions, even if declared).
Of course that you CAN NOT expect platform independence from M$.
Especially, you can not expect independence from COM/ActiveX. That
was the start of the end of Java in M$, remember?
Have fun,
Paulo
(paulo.gaspar@krankikom.de)
-----Original Message-----
From: Stefano Mazzocchi [mailto:stefano@apache.org]
Sent: Wednesday, June 28, 2000 12:29 PM
To: ant-dev@jakarta.apache.org
Subject: Re: aspectJ (was Re: [PATCH] build events)
<rant about="Microsoft C#">
C# is the most incredibly obvious Java-clone in existance. They claim it
was invented only with experience from C/C++ but do you believe that?
They cloned everything and they even got it WRONG!! Look at namespaces,
look at pointer availability.
C# is the ultimate macro virus language. They have no notion of
security, no notion of sandboxing, no notion of platform abstraction (of
course not!).
And they add _nothing_ that Java doesn't have today (well, to be honest,
only one thing "class versioning" which is something I'd expect the JCP
to talk about soon).
</rant>