C# vs Java

This cluster centers on debates comparing C# and Java, focusing on language features, ecosystems, tooling, libraries, and platform advantages, with many arguing C# is superior or 'Java done right'.

📉 Falling 0.4x Programming Languages
2,936
Comments
20
Years Active
5
Top Authors
#3801
Topic ID

Activity Over Time

2007
16
2008
40
2009
78
2010
90
2011
150
2012
136
2013
208
2014
196
2015
152
2016
201
2017
200
2018
159
2019
189
2020
142
2021
231
2022
199
2023
212
2024
164
2025
171
2026
2

Keywords

COM ASP.NET JIT NET FOSS MVC POSIX CLR ASP JVM java net jvm language ecosystem libraries microsoft net core features scala

Sample Comments

beretguy • Nov 21, 2023 • View on HN

Who needs Java when we have C#?

brass9 • Jan 31, 2013 • View on HN

JVM ecosystem may be ahead of .net, but on the language front Java doesn't hold a candle against C#.

neuronic • Jan 1, 2023 • View on HN

Can you describe the fundamental advantages of C# over Java?

arohner • Sep 22, 2009 • View on HN

The author is comparing Java to C#, not C.

ubertaco • Feb 10, 2015 • View on HN

As a POSIX-loving, open-source-breathing guy: platform availability being equal, why choose Java over C#?

kungito • Feb 11, 2021 • View on HN

C# has them all already. Java has been lagging behind C# for a long while

bcrosby95 • Aug 9, 2022 • View on HN

What stuff does C# objectively do better than Java?

n1ghtmare_ • Feb 4, 2014 • View on HN

Yep, it was just a matter of time before this becomes C# vs Java ... :)

peripitea • Mar 22, 2016 • View on HN

Having worked with both for several years, I would rate C# as a much better language than Java. The language by itself is noticeably better, but the difference is even more pronounced if you include the ecosystem -- Visual Studio vs. Java IDEs, the class libraries, ASP.NET MVC vs. Struts and its ilk. I would check it out if you have the need to do any Windows-related programming. (Not sure how great the support is outside Windows.)

throwaway4good • May 8, 2021 • View on HN

Also interesting that Java seems to be a lot better than C# / .NET which normally would be quite comparable.