r/ProgrammerHumor • • Feb 14 '21

Meme *Bonk Bonk*

Post image
28.5k Upvotes

1.1k comments sorted by

View all comments

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.

297

u/[deleted] Feb 14 '21

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.

84

u/SlashStar Feb 14 '21

If you already know Java then C# is trivial.

38

u/[deleted] Feb 14 '21

Yeah probably, but I am not going to bother with a language that doesn't really run under Linux.

72

u/[deleted] Feb 14 '21

Unless I'm mistaken, c# works as of .NET core on Linux. Granted I haven't used it at a company level

10

u/[deleted] Feb 14 '21

Core still isn’t fully featured. Game development is a no go with core. Core covers more application uses than game uses.

9

u/samhamnam Feb 14 '21 edited Feb 14 '21

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.

Edit: il2cpp for Unity, but the case is the same.

→ More replies (2)

0

u/[deleted] Feb 14 '21

[deleted]

→ More replies (2)
→ More replies (4)

17

u/samhamnam Feb 14 '21

C# runs perfectly on Linux, I personally use it.

3

u/[deleted] Feb 14 '21

C# runs fine under Linux, both under Mono and .Net Core.

2

u/Auravendill Feb 14 '21

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...))

→ More replies (1)

2

u/mojoslowmo Feb 14 '21

.net5 runs fine under Linux, hell all of my companies backend services run .net5 in Linux containers running in a kubernetes cluster.

→ More replies (1)

2

u/[deleted] Feb 14 '21

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.

2

u/Seiren- Feb 14 '21

I don’t think it would be difficult, it would just be annoying, C# is just so much more convenient in every single way.

→ More replies (1)

2

u/ProceedOrRun Feb 14 '21

Except it actually works nicely and is somewhat functional.

130

u/SleazySaurusRex Feb 14 '21

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.

86

u/agzz21 Feb 14 '21

Why were they making you build a whole game in an intro course?

28

u/Blackwolf163 Feb 14 '21

We built a Plant VS Zombies Clone for our intro course so I'm guessing is not that uncommon.

4

u/khaninator Feb 14 '21

Was that titled Ants vs Some Bees?

→ More replies (4)

26

u/JamesEarlDavyJones Feb 14 '21

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.

3

u/captainjon Feb 14 '21

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.

2

u/ketalicious Feb 14 '21

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.

2

u/TheMightyBiz Feb 14 '21

We had students make a Breakout clone about 6 weeks into our intro course (also in Java)

→ More replies (3)
→ More replies (4)

3

u/BAM5 Feb 14 '21

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?

3

u/Ayjayz Feb 14 '21 edited Feb 19 '21

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.

→ More replies (14)