Eric Li

45%
Flag icon
Lean toward an adapter solution in the following situations: The interface mismatch is extensive and complex. For example, you probably would not want to modify a string to look like a Fixnum object. You have no idea how this class works. Ignorance is always cause to tread lightly.
Design Patterns in Ruby (Addison-Wesley Professional Ruby Series)
Rate this book
Clear rating
Open Preview