Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)



On 2006-05-31 11:09:05 -0500, "topmind" <topmind@xxxxxxxxxxxxxxxx> said:

I have not found a way to use "coupling and cohesion" as an objective
metric.

I have. Read my papers on the topic.

If module A depends on module B, then A is coupled to B. If B canges a lot, then those changes impact upon A. If A does not need to change, but is forced to change because of B, then we have coupling that we'd like to get rid of. Creating an interface IAusesB that B implement and A uses isolates A from many of the changes to B.




--
Robert C. Martin (Uncle Bob)  | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc.            | blog:  www.butunclebob.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  |



.