This post is split into two parts of understanding the question of when to refactor, the business question and the technical question. Business Question The first question with refactoring, as with any business decision, is “Should we do this at all?” While software written “the right way” feels good to read, it doesn’t necessarily always …