Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- From: Robert Martin <unclebob@xxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 14:43:05 -0500
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 |
.
- References:
- Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- From: bruno at modulix
- Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- From: frebe73
- Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- From: Robert Martin
- Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- From: topmind
- Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- Prev by Date: Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- Next by Date: Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- Previous by thread: Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- Next by thread: Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
- Index(es):