News for hackers. Stuff that matters.

Is C# better than Java or are they just different?

I've heard C# described as what Java was meant to be. But Java is the single most dominant programming language according to things like the Tiobe index. Is it fair to compare them or are they apple and oranges?
( 4 comments | on HN )
Re:Is C# better than Java or are they just different? by stonemetal on Thursday April 25, 2013 @03:28PM (#5609319)
They share a similar core OO based language, but C# went out and got a bunch of flashy add ons. C# got generics before Java did. C# added delegates, lambdas, LINQ, the async keyword... Some people see that as progress and making day to day programming easier. Some might see it as bloat(how many ways are there to do async in C# now?)
Re:Is C# better than Java or are they just different? by soundoflight on Thursday April 25, 2013 @03:27PM (#5609312)
More like comparing a Braeburn Apple to a Gala Apple.
Re:Is C# better than Java or are they just different? by soundoflight on Thursday April 25, 2013 @03:31PM (#5609342)
I should expand this statement. They are both two very similar languages with different pros and cons. Your statement is too broad for anyone to answer. If you state specifically what you're trying to do then we would be able to tell you better if there is an advantage of one over the other.
Re:Is C# better than Java or are they just different? by hrish2006 on Sunday April 28, 2013 @04:43AM (#5620629)
They are just different.