This week's Cringely column at PBS has [link|http://www.pbs.org/cringely/pulpit/pulpit20030501.html|this] to say on rewriting code:
Look how many Open Source projects have updated versions and the changes read \ufffdcleaned up some code." What that really means is the programmer loves his little project, and a few fans have made him love it more, and he just NEEDS to touch it. He can\ufffdt keep his hands off the code even when he isn\ufffdt adding new features.
"Cleaning up code" is a terrible thing. Redesigning WORKING code into different WORKING code (also known as refactoring) is terrible. The reason is that once you touch WORKING code, it becomes NON-WORKING code, and the changes you make (once you get it working again) will never be known. It is basically a programmer\ufffds ego trip and nothing else. Cleaning up code, which generally does not occur in nature, is a prime example of amateur Open Source software.
I guess that means that MS isn't a professional outfit, eh? Wait, I think we already knew that... ;-)
Cheers,
Scott.