Re: C# vs. Java
From: Jeremy Gailor (jeremy_at_infinitecube.com)
Date: 09/14/04
- Next message: Ignacio X. Domínguez: "Fastest way to access data from a file."
- Previous message: Jay: "Re: managed extensions for orbic."
- In reply to: Tim923: "C# vs. Java"
- Next in thread: Morten Wennevik: "Re: C# vs. Java"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 03:41:21 GMT
Codewise, they are very similar, but C# is a superior language.
Operator overloading is a huge improvement, in my opinion, over Java
because it allows you to more naturally manipulate custom types than
Java's enforcement of using a method to perform what would naturally be
done via an operator. I also appreciate some of the more C++ type
abilities of C#, but the language still allows you to ignore writing a
lot of the boilerplate code that goes along with any project. There are
several other differences (I personally prefer the event model in C# far
more than Java's use of interface implementation and overloading the
appropriate interface method), which really shows to me that C# decided
to both take the strong points of other languages and try to eliminate
their weaknesses.
Also, the .Net JIT seems to be significantly faster than the JVM, which
is what made me start to veer away from using Java. I still appreciate
the speed and power of C++, but if it's something that I can get away
with writing in C#, and save several hundre or thousands of lines of
code over C++, then that's my first choice.
As an aside, I'm a software engineer who's been writing Java/J2EE code
for the past several years, and I can't wait to move into another
position writing C#, even though I fought hard against adopting .Net for
a long time. But I think I have a pretty good perspective of the two
languages at this point, and can compare and contrast them from a
usability standpoint.
Tim923 wrote:
> The code in C# looks very similiar to what I remember from Java, but
> we haven't done much manual coding yet. How similiar are they?
- Next message: Ignacio X. Domínguez: "Fastest way to access data from a file."
- Previous message: Jay: "Re: managed extensions for orbic."
- In reply to: Tim923: "C# vs. Java"
- Next in thread: Morten Wennevik: "Re: C# vs. Java"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|