Fork me on GitHub
#other-languages
<
2022-07-31
>
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

didibus06:08:53

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

didibus06:08:17

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?

didibus06:08:57

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.

didibus06:08:37

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

teodorlu07:07:00

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