Skip to content

Glossary: Refactoring and Clean Code

Rewrite vs refactor

Also written: rewrite, full rewrite

A full rewrite is tempting but usually runs late and brings back old bugs, because the old code holds many unwritten fixes. Prefer refactoring in steps, and replace a part only bit by bit.

Where the book teaches it

Related terms

Strangler figLegacy code