Eric Li

74%
Flag icon
This custom-tailoring technique is particularly useful when you have lots of orthogonal features that you need to assemble into a single object. By simply manufacturing an object to specification, you can avoid creating a whole host of classes with names like WoodyStemmedNeedleLeafFloweringPlant and VinyStemmedBroadLeafNonfloweringPlant.
Design Patterns in Ruby (Addison-Wesley Professional Ruby Series)
Rate this book
Clear rating