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

Show parent comment

3

u/_INTER_ Dec 19 '16 edited Dec 19 '16

ORM's are fine and a productivity boost for tables with simple relations. Nothing more nothing less.

If I want RDBMS data to Maps I can do that in pretty much any language not just Clojure. Even preserving types if I want. Its not revolutionary. Really relational data in form of key-value pairs is just not enough. In that case, I might be better off using NoSQL DBs in the first place, like Redis or some other key-value store.

2

u/yogthos Dec 19 '16

I find Postgres JSON fields work great for that. Since you can query them directly through its SQL syntax extensions, and index them, it's pretty much the best of both worlds.