Joel says don't rewrite, like the Netscape guys did <a href="http://www.joelonsoftware.com/articles/fog0000000069.html" rel="nofollow">http://www.joelonsoftware.com/articles/fog0000000069.html</a><p>Derek Sivers rewrote 90,000 lines of code in 12,000 lines... after 2 years on a failed rewrite. <a href="http://news.ycombinator.com/item?id=58429" rel="nofollow">http://news.ycombinator.com/item?id=58429</a> Maybe the lesson is that before you can renew your code, you yourself must be renewed?<p>Or:
<i>You cannot solve a problem at the same level you created it.</i>