Testing for improvement

When I’m programming, I sometimes need to use a problem solving pattern, that Kent Beck called Parallel. The pattern tells us that when your making a change you should also leave the old way of doing things in the program, so you can gradually move to the new solution. This helps in situations, where you can’t just flip a switch to migrate. The problem with this however is, that you do have to migrate all the way to the new solution, because otherwise you will have twice the code and data in various states....

March 2, 2010