r/Clojure • u/tanrax • 10d ago
Implementing Clean Architecture in Clojure
https://en.andros.dev/blog/bebb6f27/implementing-clean-architecture-in-clojure/
30
Upvotes
r/Clojure • u/tanrax • 10d ago
View all comments
Show parent comment
2
u/tanrax 9d ago
Thanks for the reply! And for the original post, it's cited in the article.
I agree on the problem, that's exactly why I didn't go with Functional Core, Imperative Shell. In the article the use cases receive the repository as an argument and can fetch data mid-flow, so IO isn't strictly at the edges; the core just doesn't depend on concrete infrastructure.
In my opinion, I see your graph approach as the next level up. Each node could be one of these use cases, with the conductor making the flow explicit and traceable. Maybe, for a small app it'd be overkill.
I'll check out Mycelium.