6
Lensflare
21d

What‘s the purpose of separating your code into "independent" modules if each module contains everything anyways?

Comments
  • 2
    @retoor this is not monolith vs microservice. A module != service.
    The Linux kernel for example is a famous modular monolith.

    Also a microservice architecture is an organisational (people and teams) solution not a code organisation solution. It's a Conway's law thing.
  • 1
    Main reason is that you can group concepts, but being strict about "independent" can be a bit much IMO
  • 1
    @BordedDev yeah I‘m not even sure what it is trying to group. According to the names of the modules, it‘s a wild mix of UI vs. non UI and thematic/feature based grouping.

    But, as I said, each module has everything anyways.
    UI module has a lot of logic, logic module has a lot of ui, a particular feature module has a lot of other code related to features from the other modules.
  • 0
    @Lensflare sure, but that's fine if you're grouping by business concept for example
Add Comment