Conclusion


We started with two classes that needed to collaborate and looked at three approaches to their core interaction. I don't have a general rule to tell which approach is better. Note that they pointed toward different systems in the end. Choosing the balance of responsibility between objects is still an art.



Refactoring Workbook
Refactoring Workbook
ISBN: 0321109295
EAN: 2147483647
Year: 2003
Pages: 146

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net