r/linuxquestions • u/Gamer115x • Jun 12 '20
Resolved Why does everyone hate Java applications?
I see it generally everywhere I go as a Linux user: almost everyone has some kind of problem with Java applications. I understand Java as a development platform has some rather infuriating holes regarding its deployment methods, and the most common issue I've seen are memory leaks and just how memory hungry the applications can be by themselves.
Is it a concept of purity? Or is is just because of some other reason that seems to escape me? I use some Java applications almost daily without problems. So why the grudge?
Opinions, rather than absolute answers, are expected.
Resolved -- Technically, there have been several wonderful and informative answers here on this post. Some answer the question better than others. However, not one singular answer is fitting enough to answer this question, so I thank everyone who took the time out of their day to enlighten me about Java and its rather unfortunate history. Thanks again!
3
u/MonkeyPooperMan Jun 12 '20 edited Jun 12 '20
I have 15-ish years of experience with Java and really have no problem with it. I found it to be really effective on the server-side, especially when combined with a few other tools/patterns (Spring, Hibernate/ORM, Ehcache, etc). It is a bit verbose when it comes to Interfaces/Inheritance, and is strongly typed, but those aren't always necessarily bad things. It's code doesn't look as elegant as other languages, and the garbage collector tries to be a blessing and mostly succeeds (but yes, you can shoot yourself in the foot with Java, just not quite as badly as with pointers in C).
And regardless of whether you use Eclipse, Netbeans, or IntelliJ, you can locally setup and test in an server environment that almost exactly mirrors your production instances (I say "almost exactly" because you probably aren't going to setup multiple server nodes/load-balancing/Active Directory/etc on your desktop environment).
Having said all this, I still love Python and my day job is HTML/CSS/Javascript/Angular on the Salesforce platform. I started out back in the day with Qbasic/Basic, a smattering of Assembly/C, Ashton-Tate Dbase 3+, Foxpro, Powerbuilder, C++, Java, and finally ended up where I am today (who says and old dog can't learn a new trick or two?). I have love for quite a few development languages and encourage you to form your own opinion of every language that interests you.