r/ProgrammerHumor • • May 29 '20

Please Guys actually

Post image
3.0k Upvotes

112 comments sorted by

View all comments

Show parent comment

6

u/Ipotrick May 29 '20

i personally do not preffer java over other languages. there are multiple reasons like:

it forces oop on you (Everything is an object, you cannot make plain old data types like in c++ or rust),

No value semantics per default

(in my opinion) verbose syntax in some places(== does not compare content but the Object .equals seems like an ugly workaround, .clone() also looks like an ugly workaround to me)

bad generics (compared to c++ templates for example)

general missing features like operator overloading or default parameters.

I definetly do not hate java, but i can see how someone that comes from a more data oriented language like c++ or rust would dislike java just because it is a different style.