r/programming • • Apr 16 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
41 Upvotes

220 comments sorted by

View all comments

Show parent comments

6

u/AdministrationWaste7 Apr 16 '21

It still hasn't managed to get out from under c# being "java but with the problems fixed"

probably because c#, as a language, is generally the better one

3

u/_ragerino_ Apr 16 '21

What makes you say that?

4

u/AdministrationWaste7 Apr 16 '21 edited Apr 16 '21

i'm gonna preface this by saying that both java and c# are just tools. so its mainly a preference thing.

but as a programming language c#, as it stands today, is more feature rich than its java counterpart.

for example i just found out today that Java STILL doesn't have an async/await equivalent. which is pretty huge.

i think java's biggest strength for a long time was that c# was locked to .net, which at the time was windows specific.

however with .net core and the now .net 5 being open source and cross platform. i think c# is the way to go.

c# also comes with Visual studio, which imo is one of the best IDEs around. .net is awesome. nuget is super convenient and has tons of support. etc etc.

i cannot stress enough the ease of use that c#/.net offers.

for example .net core comes with its own, albeit simple, IOC out of the box. no third party libraries, no config(in the traditional sense) just a quick few lines of code.

6

u/jvjupiter Apr 17 '21

Virtual threads will be way better than async/await.

1

u/hanabi1224 Apr 21 '21

I doubt project loom will make itself ga before jdk 20