r/learnjava • u/capm_diealone • 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!
1
u/[deleted] Jan 01 '24
Since Java 1.8, I’ve been very happy with the speed of the jvm. If it’s the jvm and not the language that you don’t like then look into compiling Java into native code. The llvm was starting to have support and there is a straight to native compiler called gcj.
If you want me to defend the jvm then I think you should look at all of the languages it supports now. Clojure is far superior to F# and jython is pretty cool. Lastly maven as a unifying package manager glue is great and provides a lot of great support for other build systems to pull in dependencies.