Fork me on GitHub
Cora (she/her)03:07:36

of that languages that are out there I feel like elixir is the most similar to clojure

Cora (she/her)03:07:01

I wonder what things we can glean from elixir and port to clojure

Cora (she/her)03:07:31

the library ecto comes to mind, it really has incredible relational database support


Is it needed though? In Clojure you'd want to get your records back as maps. Do you need something to map back/forth with a defrecord? It also adds validation and all that, but I normally use spec for that. I guess maybe, it does provide rigid structure. I just feel next.jdbc + HoneySQL gives you most of Ecto.

Cora (she/her)03:07:15

64757 loc is a lot to port to clojure, though


That's insane. I don't think I have a single Clojure code base that large... I wonder why it's so much code, is their cruft, or truly Ecto has a ridiculous amount of functionality?


Who even spent all that time on an open source lib writing so much code? Pretty sure that's bigger then the entire Clojure code base as well.


Ok, the entire Clojure code base is 76899 LOC, so Ecto is almost as much code as all of Clojure


What's good about ecto? How would the good parts look in clojure?