IntroduceLocalExtension

Last edit May 3, 2010
[Vaguely] From Fowler's RefactoringImprovingTheDesignOfExistingCode:
  • If you find yourself with a handful of ForeignMethods, it might be best to derive your own class from the existing one and use it instead.

Some feasible examples include:

c.f. MartinFowler's RefactoringImprovingTheDesignOfExistingCode, pg. 149. http://www.refactoring.com/catalog/introduceLocalExtension.html