Re:2012 State of Clojure survey
by edwinnathaniel on Friday July 20, 2012 @02:07PM
(#4272088)
Is mixing Java classes in Clojure okay? or to some degree it is acceptable but there are gotchas or the do's and don'ts?
Hey, I checked your website just for fun and it says there you can speak Indonesian, awesome :).
Re:2012 State of Clojure survey
by technomancy on Friday July 20, 2012 @02:53PM
(#4272332)
Operating directly on Java classes is pretty standard. Of course you have to be very careful when working with classes which allow mutability, (true in all languages, really) but with Joda that's not an issue.
The only thing you miss out on is that Java methods can't be used as higher-order functions.
My Indonesian is pretty rusty; I should probably update it to say that I understand it rather than speak it. =)
If you can imagine the same benefits of working with stable values applied across the board to all your built-in data structures, that might help.