Grzegorz

15%
Flag icon
One especially destructive kind of dependency occurs where an object knows another who knows another who knows something; that is, where many messages are chained together to reach behavior that lives in a distant object. This is the “knowing the name of a message you plan to send to someone other than self ” dependency, only magnified. Message chaining creates a dependency between the original object and every object and message along the way to its ultimate target. These additional couplings greatly increase the chance that the first object will be forced to change because a change to any of ...more
Grzegorz
RSv2
Practical Object-Oriented Design: An Agile Primer Using Ruby
Rate this book
Clear rating
Open Preview