Re: Repositories, package dependencies, and domain-flavoured exceptions



iamfractal@xxxxxxxxxxx wrote:

Jason Che-han Yip skrev:
....
Question #2: Are Java packages really appropriate to be determining
illegal package dependencies?  I can accept that this might be a
reasonable simplification.


Oh, good lord, yes, yes, and thrice yes. Java packages (and C#
namespaces) are absolutely, god-sendingly ideal as a hierarchical
encapsulation granularity for a large system. It's far more worthwhile
concentrating on inter-package dependencies than inter-class
dependencies within a package. You are doing The Right Thing.

I'm thinking more in the other direction. Are Java packages (and C# namespaces) too finely grained to be appropriate for determining package dependencies?
.