r/learnjava • • Dec 29 '23

I don’t like Java. Change my mind.

Hi all! I don’t mean for this to be a shitpost or anything like that, truly. Lately, for some reason, posts from this sub have been entering my email. I’m primarily a C# dev, and I love Typescript as well. I’ve always hated Java. Don’t ask me why…I don’t know. When I was in school, I was more or less taught that Java is super slow because the JVM is bad.

I’d love to know what’s been up with Java, partly because a lot of banks seem to use it and partly because I don’t wanna be that guy that just discounts a whole language because of flaws it had over a decade ago.

So change my mind! I’d love to find out what’s been up with Java, and any resources y’all can provide for learning Java (bear in mind I’m a very experienced software engineer) that aren’t LinkedIn Learning (I get access through my local library but that access is down right now) would be super appreciated.

Again, this is not a shitpost. I just hate Java. Change my mind!

0 Upvotes

86 comments sorted by

View all comments

1

u/raxel42 Dec 29 '23

The only issues are the huge frameworks like Spring and, as a consequence - huge memory consumption. Jvm is optimized on throughput, not latency. C# is running on top of their CLR virtual machine, which makes them roughly similar. CLR was better than JVM at the time Java prior and around 8. Plain core Java is good and fast. P.S. I have more than 30 years of coding experience.

-1

u/capm_diealone Dec 29 '23

I should have clarified…I know that that CLR and the JVM have the same issues RE performance, why wouldn’t they? I just can’t explain why I like C# better than Java haha.

Realistically, im gonna learn Java. I’d just like to know its strengths so I can learn in the best way possible