The best possible situation is for an object to be completely independent of its context. An object that could collaborate with others without knowing who they are or what they do could be reused in novel and unanticipated ways.
- Chapter 4. Creating Flexible Interfaces
- from Practical Object-Oriented Design in Ruby: An Agile Primer
- Publisher: Addison-Wesley Professional
- Released: September 2012
Share this highlighthttp://learning.oreilly.com/a/practical-object-oriented-design/75708/