To Rewrite or Not to Rewrite?

To Rewrite Or Not To Rewrite

Kevin Roper Articles, Development Technologies & Tools, Opinion, Programming Leave a Comment

A recent project got me thinking about the old trope that, upon getting involved in an existing project, the first thing any developer wants to do is rewrite it.

Obviously, thatโ€™s not always true, and in fact, Iโ€™ve rarely been tempted. But the following situation made the thought cross my mind, and it also led me to realize the reasons I didnโ€™t bite.

Letโ€™s talk about it, but first, Iโ€™ll talk more generally about rewriting codes, the potential benefits, and the reasons itโ€™s typically best not to.