r/learnjava • • Jun 21 '21

Why learn Java when there's C#?

I am genuinely curious, as it seems C# has superseded Java in many regards. The only reason I can think of using Java is backward compatibility.

EDIT: To clarify, the main selling point of Java was cross-platform, but nowadays most frameworks and toolsets are to some degree cross-platform, including .NET Core, which is the new main framework of C#.

0 Upvotes

36 comments sorted by

View all comments

2

u/sweetno Jun 21 '21

You learn Java because there are really good frameworks written using Java. Businesses put a lot of trust into them since they proved to work well. No one will bother with rewriting them in C# or convincing themselves that there are equally capable C# frameworks.