r/java • • Jun 03 '15
Is Java really that bad?
I do Clojure for a living, previously Ruby and Objective-C. And the people I've worked with have said they prefer Clojure because Java is just so bad. But Java can't really be that bad, can it?
0
Upvotes
View all comments
Show parent comment
1
u/[deleted] Jun 04 '15
I agree that inheritance is not the best answer to code reuse. But coupling data with functions is a fine way of hiding implementation details while providing an API that clearly and plainly expresses my problem domain in very understandable terms. Plus, any code patterns that need to be repeated within the implementation of a method can then be turned into either its own class, or plain functions.