in reply to How is the term 'refactoring' used?
Refactoring is like taking a complex mathematical equation and applying transformations to make it simpler.
Rewriting is like taking a complex mathematical equation and trying to derive it again so that it's simpler.
The latter may work, especially if you understand the problem really well, but there's no guarantee that it'll continue to work at every discrete step.
|
|---|