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).
Alan Shalloway from http://www.c2.com/cgi/wiki?CouplingAndCohesion
No comments:
Post a Comment