This article is about code rewrites, where it is expected that the behavior will change. Not to be confused with Code refactoring.
A rewrite in computer programming is the act or result of re-implementing a large portion of existing functionality without re-use of its source code. When the rewrite uses no existing code at all, it is common to speak of a rewrite from scratch.