In almost all cases, Iām opposed to setting aside time for refactoring. In my view refactoring is not an activity you set aside time to do. Refactoring is something you do all the time in little bursts.
Martin FowlerComparing to another activity is useful if it helps you formulate questions, it's dangerous when you use it to justify answers.
Martin FowlerWhen you actually sit down to write some code, you learn things that you didn't get from thinking about them in modeling terms...there is a feedback process there that you can only really get at from executing some things and seeing what works
Martin Fowler