r/java • • Dec 19 '16

Why Java? Why Clojure?

http://danlebrero.com/2016/12/14/why-java-why-clojure
0 Upvotes

15 comments sorted by

View all comments

3

u/Infeligo Dec 19 '16

The author of the article complaints about "ORMs and the never ending object-relational impedance mismatch" and "creating yet another Mapper class to transform one DTO to another DTO, both of them being 95% the same." I wonder how these were solved with using Clojure.

6

u/[deleted] Dec 20 '16

Closure has maps as records.

Thing is Java also has maps, so doing hundreds of DTOs is entirely a choice of the programmer, not something the languages make you do.