First page Back Continue Last page Overview Text

Notes:


Once we have identified the constituent parts of the analogy we can translate between the structures according to our needs.

If our requirements change (or even our understanding of them) it is these translations that the experienced programmer has in her toolbox to help her refactor.

Indeed in Fowler's refactoring book the Substitute Algorithm Rule in essence describes this particular translation, only in reverse.