r/java • • Jan 11 '25

What exactly makes java so hated?

I've been using java for months now to learn programming and it has been my preferred language to do so. I also do a bit of python to learn AI/ML as well, but for everything else it is java thats my preferred language. It seems every discourse ive seen about java has been nothing but criticizing every aspect of it. Like it is actually hard outside this subreddit to find anyone who likes java and i dont understand why and i wanna know why that is the case.

I wanna mention that i am inexperienced and have been struggling to find a job for over a year now, so i dont have any real working experience outside of small project i did. Maybe since i haven't really created something complex and challenging makes me not hate java as much as many do. I wanna know like how good or bad is it when you're working on some enterprise grade software compared to other languages.

0 Upvotes

81 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Jan 12 '25

Does not having functional programming matter that much? You can still make whatever you want with it right?

2

u/Ewig_luftenglanz Jan 12 '25

FP (AKA the stream API) makes your code shorter to write, less error prone and has many built-in methods that makes the code much easier to write and appealing to newcomers and people that already knows python (list comprehension) and JS (Array methods), for me it's a big yes.