Java or C#

By Angsuman Chakraborty, Gaea News Network
Saturday, January 10, 2004

Remember the days when Java was pitted against C++? Well for sometime now the question has been whether to go with C# or Java, .NET or EJB/Java?
We at Taragana normally work with Java Technologies only. Personally I am using Java since end of ‘95, almost after the 0.5 beta version came out. So when my friend & ex-boss (working at Seattle) tried to convince me to try out C#, I was skeptic because I was burn’t with MS products in the past - easy at first glance, really bites when used for large-scale enterprise applications, not to mention very buggy. However he insisted and suggested I was probably losing my impartiality in not giving it a serious look. He thought that C# was the next big thing (with .NET) solely because it had the support ofMS. So I decided to take-up a small project in C# and get the ball rolling. Overall as you all know the languages are very similiar. I felt setup was more complex with C#, and overall the development & debugging were more cumbersome than Java. Performance wise, it looked to be slower with real-world applications. Off course and then there is always the fear of getting stuck to a single vendor. Overall for the simple project I felt both were more-or-less equivalent. However given a choice I would still choose Java. Interestingly Later on my friend commented that he felt that MS is losing traction of the market-place with their .NET strategy and maybe just maybe his perceptions was incorrect.

Here’s an old debate on VB versus Java, where all I did was tried to console a poor folk who had to switch from Java to VB programming.

Discussion

kaarthick
March 23, 2008: 6:02 am

hey am doin ma project in GRID… i hav a problem i want to get de values from de console…to ma database(MSACESS)…n then i have to compare those values.. so can u guys help me out….


Adil
February 7, 2006: 3:35 pm

that is informative jose. I agree with charaborty
and you.

I love Java as you guys do. The feel of it just amazing for me. I came across Java in 2001. I had made some VB6 software by then, tried VB.net and C# in 2003, but to me Java is the best.

June 29, 2005: 8:16 am

I’m very familiar with both languages. C# without exageration is basically a clone of Java. Of course MS tried to improve it, in a lot of cases successfully, based on years of experience with Java. They did not get everything right, though. Just look at their collection classes. There’s no good way to get a thread dump to date. Some of their exceptions are very informative, such as “Generic GDI+ Error” :). Their DataTable construct works horribly IMO. Making properties part of the language is nice on the surface, but error prone (pretty easy to get into an infinite recursion, especially with VS.NET.) Making events part of the language is good, but did they do it right? It’s not transparent. Is it adding a handler to a collection as weak reference or not? Removing a handler looks ugly, but it has to be done — I’m afraid many C#ers don’t.

I could go on.


XAMJ

March 11, 2005: 5:46 pm

[...] ed in ComputerWeekly article titled “C# goes head to head with Java” from my article on our .Net experience. A Java user’s view of C# Angsuman Chakraborty is chief software architect at Calif [...]

October 13, 2004: 5:20 am

Compiler options - Java and C#
To generate debugging information in Java we need to use the following compiler option :

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :