nstead of deciding on a class and then figuring out its responsibilities, you are now deciding on a message and figuring out where to send it.
- Chapter 4. Creating Flexible Interfaces
- from Practical Object-Oriented Design in Ruby: An Agile Primer
- Publisher: Addison-Wesley Professional
- Released: September 2012
Messages can create other classes.
Share this highlighthttp://www.safaribooksonline.com/a/practical-object-oriented-design/75698/