O'Reilly logo
  • Roberto Orsini thinks this is interesting:

The class that wraps should have the same interface as the class it is wrapping so that clients don’t know that they are working with a wrapper.


Cover of Working Effectively with Legacy Code


Do this when the class to wrap is called from many places.