Thursday, June 24, 2010

Tight internal cohesion and Loose external coupling

This basically means that each method in a class should have one task and the class as a whole should have one major responsibility (tight internal cohesion) and that other classes should not depend on the inner workings of this class but should be designed to the "interface" of the class (loose external coupling).

No comments: