News for hackers. Stuff that matters.
Re:Try Clojure by didibus on Thursday May 23, 2024 @01:05AM (#40450661)
There's no object in Clojure, so there's no need for an Object Relational Mapper. You just work directly of the query result sets, which the SQL library itself can conveniently turn into rows of maps if you prefer (over rows of lists).
Re:Try Clojure by winrid on Thursday May 23, 2024 @01:10PM (#40457244)
No object is kinda mind blowing since it has java interop. I guess everything just becomes maps?
Re:Try Clojure by didibus on Thursday May 23, 2024 @04:17PM (#40459399)
Well, there are objects through interop, and under the hood everything is compiled into one. But when you develop an app, you won't be defining classes and instantiating objects of them, you'll be instead writing functions that return maps or other data-structures.