Skip to content

Expose base package + some sub-packages as one module #478

Answered by odrotbohm
marinusgeuze asked this question in Q&A
Discussion options

You must be logged in to vote

It's always a bit difficult to evaluate these arrangements with only one, “serving” module in the picture. There are a couple of aspects to the general arrangement, that I find (read: we're moving towards personal opinion here) debatable:

  1. The ratio between types to be exposed and types hidden seems to imply low encapsulation. If almost all types of a module need to be made visible to other modules, it's difficult to achieve modularity. The relationship to the other modules will be established by many relations, in turn implying tight coupling. This is not a critique about your design, but a consequence of all of these separation-of-concerns architectures as they all usually employ abstra…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@marinusgeuze
Comment options

@marinusgeuze
Comment options

@odrotbohm
Comment options

Answer selected by marinusgeuze
@marinusgeuze
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants