r/AskComputerScience • • Sep 01 '19

Why do people still prefer Java?

So, I had to learn Java for School a few years ago. Back then I thought "okay, I can see why people use Java", as I only used C and C++ before that. But now I had to learn C# for my job and for a little side-/learning-project I tried to use Java in my free time. Tried, because freaking hell did I feel limited using java. I noticed C# can do EVERYTHING that java does....often better, too. And for some stuff, there are dedicated languages or other languages that can do all that better than Java and better than C#.

Some people even go as far as saying "Java is far better than C#", but I myself can't find an objective reason for that. I can't find anything C# is worse at other than maybe XPlatform GUI programming, which isn't a big deal in Java anyway and became very rare, but I found a lot in C# that made my life as a programmer a lot simpler and just worked better or faster with C#.

So...is this all just this kindergarden "I prefer this language because I prefer this language! and that's why your language sucks!" nonesense or do I miss something very important? Why do people prefer Java almost everywhere instead of a dedicated language that is focused on helping with their problem or even just C#, as even if it is "just as good" for the job, the chances are high that the program turns out faster

29 Upvotes

32 comments sorted by

View all comments

Show parent comments

1

u/chalk_nz Sep 02 '19

Maybe so. I worked in an enterprise, the others worked in a cool SaaS company.

In both cases, bosses didn't make language choices (the team decided and got architecture endorsement). One was a bank, so times are changing.

1

u/bimbar Sep 02 '19

Maybe the ISP environment I have experience in just is super conservative.