Quote:Original post by Anonymous Poster
Quote:Original post by Alpha_ProgDes
Not quite. C# is actually ANSI/ISO standard which means anyone can write a standard implementation. It's not a Microsoft-only language. Though MS puts alot of effort and resources into it.
And that means what? A standard doesn't guarantee interoperability, if you use .Net on Windows you are locked with Windows and to Windows specific APIs.
Remember that J2ME doesn't work the same on every mobile device (cell phones anyone?), so in that respect Java falls into the same trap. Also, there are people who have programmed in Java for Win, Linux, and OSX and have had to change their code slightly to get it to work properly for each platform. So if a user looking for cross-platform development wants to use C#, then that user will use Mono. If he targets Windows, he'll use .NET. The library/code changes are minimal when switching from a Mono-C# to a .NET-C# and vice versa.
Quote:Quote:Allow me to slightly add to that. Yes, J#, C#, VB.net, Boo, F#, IronPython all can use the .NET library and because they all compile to the same bytecode you can even intermingle one language with another. But please please don't use managed C++ when you can use C#. Believe me you WANT to use C#.
Yes, and Java has more than 70 languages running on the JVM, so what?
So, I was answering his question about language interoperability in .NET and also responding to his statement about Managed C++ being the best to use in .NET.
Quote:Quote:C# and Java do resemble each other. But that's the keyword resemble. C# at this point in the game, language-wise, is a far more powerful language than Java (though that may change with Java 6). You should check the C# 3.0 spec (actually there's a thread about it if you search for it). Very flexible and powerful.
C# is bloated. Bloated without hope. Microsoft adds whatever it wants, the way it wants without any consideration with backward compatibility (that's why .Net is a joke in the enterprise). Trust me, in a few years C# will be the new Perl, 10 ways of accomplishing the same task.
True, .NET 1.1 code breaks in .NET 2.0. But at least MS has taken it upon themselves to
improve the language and the library setup. I'll admit to not having use Java or C# in anything non-trivial. But the MS library setup is far more intuitive than Java's. That alone makes my coding life much easier.
Quote:Questionable choices such as operator overloading alone should keep conscious developers away from this Microsoft trap.
Well that's a coding philosophy issue. But C# allows function overloading as well as operator overloading so a developer can use whatever style is more intuitive and comfortable to him.
Quote:Quote:Don't knock C# because MS touts it rather publicly. It's a good language with a wonderful editor. C# works with Visual Studio (MS compiler) and Mono (open-source, Novell backed compiler). So technically C# is as open sourced as Java. It's just that MS' version of C# is more mature than Novell's version, but that's changing as well.
No, it's not. We are able to run Java code unmodified in many platforms and you can't do the same with C#. Visual Studio relies on Windows specific APIs, that means that an application written for Windows can't run on Linux.
As I bolded, in many but not all platforms is Java able to run unmodified as I noted above. Mono also can run C# unmodified on many platforms as well. Just to be clear, I only mentioned .NET when the OP asked about it. Other than that I kept my discussion to the languages. You seem to be arguing that Java is a better
platform and language than .NET and C#. This kind of subtle back and forth can confuse the OP and other readers when it's not clear that you are about the Java Platform or the Java language.
Quote:I have been reading this forum for awhile and notice two things:
- There are a lot of .Net cheerleaders around, trying to push it to any newcomer, and creating FUD about Java all the time;
Nowhere in my post have I cheerleaded C# or even .NET. I only responded to dispel misconceptions about the both. Also, nowhere in my post have I knocked or said anything ill about Java (language or platform).
Quote:- I am not sure how these so-called Java developers stand this quiet. Why don't you just answer to this obnoxious behaviour? By any chance the "cheerleaders" are the owners of the forum?
If anything, they cheerlead Python [smile]
Quote:Seriously, this is a Java forum, anyone marketing Microsoft proprietary stuff (yes, doesn't run on any platform unmodified) should be considered a Troll and treated as such.
The OP is on a Java forum asking about C#. Also as it has been said before, C# is
not MS proprietary. So for a meaningful discussion maybe [in another thread] we should discuss Java, the language and Mono & C#.