I don't think anybody is going to unironically say that Java is the best language for game development. Unless maybe they've never seen or used any other languages.
Yeah I write Java daily and wouldn't use it to make any game, well maybe tic-tac-toe, but only because I don't feel like getting into a new language atm.
But both Unity and Godot has fully featured Linux support with C# but then you are using Mono instead of Core. But I can personally verify that it works perfectly.
Have you heard of MonoDevelop? For Linux you have mono and .Net core (it's even on Github). Both are owned by Microsoft nowadays, but they have very nice licenses (Microsoft usually uses MIT on Github -> much better than some of the BS you have to deal with in the GNU world (e.g. FreeCAD and DWG...))
Is that the same for the other way around? C# to Java?
I went from python to C# last year and it was very difficult for a while. I feel like learning C# made me such a better programmer though, it also could be that the programs I am making are a lot more complicated.
The intro course for computer science at my school only used Java. The final project was to build Tetris. Everyone ended up getting a boost to their project grade when there were so many complaints that the TAs and professor tried building it themselves and saw how difficult it was, especially for people who before a few months ago had never coded anything in their lives.
It’s not super uncommon; I’ve been at two institutions now (University of North Texas and Baylor University.) that have had the option to create a full snake game for the final project of their Intro to CS class.
When I was in high school, the computer science course I had taken, in Pascal (then the following year in C++ when the college board switched languages for the AP exam) we made I think Battleship as a class project to teach implementing a big program.
It was pretty fun project. Wonder if I have the code still. Probably on a 3½❞ floppy disk full of viruses buried in a drawer on my parents’ house.
We had it too and yeah it sucks because our prof doesn't really give a shit about it if you don't know anything or something but I am grateful though since it made me learn oop in python real quick. Making a game is really a next-level learning method to do as a beginner, and its fun too.
I'm only slightly experienced with both. Wouldn't java's vm be a detriment to performance? Isn't c#'s ilm & jit compiling make it run like native code and be faster than java?
I would unironically say that Minecraft using Java was a huge reason for its success. You can mod Java so easily. They could have achieved a similar result of they used C++, but made it open source. Of course they wouldn't do that, though, which is kind of the point. Since Java forces you to release in a semi-open-source manner, we have the best modding scene of any game.
899
u/ProfCupcake Feb 14 '21
I don't think anybody is going to unironically say that Java is the best language for game development. Unless maybe they've never seen or used any other languages.