A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Carn Melon:
Hello Folks,
I have a couple of concerns on "Coupling and Cohesion" that I would like help to figure out and understand. Software that has LOW coupling and HIGH cohesion is easier to maintain. We all understand and agree on that. But HOW MUCH coupling would be considered a low coupling that is ideal and desirable? and so is the cohesion? So i am looking for a way that would aid us to measure how much is low and how much is high.I would appreicate if you could give me your thoughts and experience on it. also I would appreciate if you could links to literature or books on this topic. thanks.
[ November 26, 2004: Message edited by: Carn Melon ]
Bruno Collet<br /><a href="http://www.practicalsoftwarearchitect.com" target="_blank" rel="nofollow">www.practicalsoftwarearchitect.com</a><br />- The Paradox of Software Architecture: It is easy to make a complex architecture, but it is difficult to make a simple architecture.
What I don't quite understand here is "ONE REASON" for a class to change. What does it mean a ONE REASON as there could be several reason for a class to change.THERE SHOULD NEVER BE MORE THAN ONE REASON FOR A CLASS TO CHANGE.
HOW?If you can think of more than one motive for changing a class, then that class has more than on resposibility.
SO WHAT? What's the problem here? How does the suggested solution solves the problem? Guys, I found myself very ignorant on this topic after reading this article. could you please help me understand this concept? thanks.They'll certainly change for different reasons.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Liar, liar, pants on fire! refreshing plug:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|