2 pointsby snyssfx14 hours ago1 comment
  • geokon3 hours ago
    I've never used Polylith, nor do I honestly quite grok it entirely. But it seems unnecessary in a personal project?

    It adds a bunch of abstractions on top of Clojure which seem to be mostly useful for enforcing rules when working with a team

    With bare Clojure you can just have a monorepo of different mini-libraries and use `:local/root` to hook things up. It seems much simpler that way. You can have a different "applications" point at each other through deps.edn.

    Would love to be corrected though :)

    • snyssfx2 hours ago
      Hey, thanks for the comment.

      One of the good things about Polylith is that it doesn't force me to migrate fully to it.

      It just tells me to use 3 directories: one of them is for shared mini-libraries, another one is for projects, and the last one is for applications' deps.edns.

      And in the future, if I decide to go all-in, Polylith has guides and roads for how to refactor the projects into libraries and components.

      So what you describe sounds like the same thing to me, yes :)