- By Sandro Mancuso
- ·
- Posted 06 Mar 2012
Extract, Inject, Kill: Breaking hierarchies (part 2)
In part 1 of this post I explain the problems of using the template method in deep class hierarchies and how I went to solve it. Please read it before reading this post. Here is a more concrete example in how to break deep hierarchies...