But the repetitions must all be (slightly) different to allow capturing the common pattern among them. But after that, we have learned that OnceAndOnlyOnce is the best way to code it. From HaiKu: OnceAndOnlyOnce RefactorMercilessly ExtremeProgramming