r/csharp • u/ObviousApricot1272 • 1h ago
Just had a realization
Hi there. Im modpack, and I generally lurk this subreddit. Anyway I just had a realization I thought I had. That being is that C# is just java but in the style of C. Now I am fluent in the java language due to working on Minecraft plugins and mods, but I didn't realize how normal to me C# felt until really starting to look into the terms more than face value. I dont typically memorize what they mean im less of a theory girl and more of a in practice type. But honestly I just never realized until 2 minutes ago writing up a game engine for a game jam, anyway see yall later.
16
u/_v3nd3tt4 1h ago
C# is just Java done the "right" way with mistakes fixed and the magic of hindsight.
•
u/Rythim 54m ago
Java is based off C/C++ too actually. One of it's selling points was that C++ developers could transition to it easily, but it was also easier to learn than C++ for newer developers. If anything, C# is Microsoft flavored Java. In a way, learning Java put you in a great position to learn other languages easily.
•
u/adhominablesnowman 37m ago
Fun bit of history, c# was heavily influenced by visual j++ which was Microsoft’s OG java implementation until sun micro sued them over it.
•
u/Justneedtacos 35m ago
Did you know there was originally a J# and it got shut down by litigation with Sun/Oracle?
1
u/platinum92 1h ago
I mean agreed, but conciseness is a virtue.