Timothy Margheim

34%
Flag icon
There are occasionally situations where wrappers make sense. One example is when a system uses an external class whose interface cannot be modified, but the class must conform to a different interface in the application where it is being used. In this case, a wrapper class can be used to translate between the interfaces. However, situations like this are rare; there is usually a better alternative than using a wrapper class.
A Philosophy of Software Design
Rate this book
Clear rating
Open Preview