“Refactoring isn’t about removing code, its about providing coherency to your metaphors. The story you were telling has changed, and while many of the symbols will remain the same (wicked step mother, dark woods, prince) others will change (dwarves, and bramble bracket, ditched for updated concepts of self determinism and midnight balls). Code is symbol manipulation, programming is narrative construction, and refactoring is editing for sense, clarity, and pronoun agreement now that you’ve changed your protagonists gender.
— kellan