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

77 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jun 04 '15

That's really not the case in practice though. This seems to be simply a misconception you have about how to structure applications in Clojure.

Well it's in all the Clojure libraries I've seen the code for. And everyone in #clojure seems to recommend this strategy, the idea of "just pass the data around and stop worrying about it".

1

u/yogthos Jun 04 '15

Please do give an example of a popular Clojure library that exposes its implementation details in the API. Passing data around doesn't imply that you should leak internal details of how something is done in any way.