On Thu, Aug 6, 2015 at 10:51 AM, Francesco Mari
<[email protected]> wrote:
> ...What is your take on modularisation?..

>From the peanuts gallery I'll just observe that since we started Sling
seven years ago we are constantly moving towards smaller and more
specific modules (OSGi bundles in that case), even though we already
have many of them.

Grady Booch's rule that "a class should do one thing and one thing
well" applies very well to modules/bundles IMO, being specific makes
many things easier and many modules become trivial and change rarely
which helps focus efforts in the right places.

You do need strong integration tests to verify that a given
combination of modules works then, but that also helps make your
project better. And you don't need to bless many combinations, maybe
just define a release cadence for a known good combination of modules
that becomes the next release.

-Bertrand

Reply via email to