Refactoring is part of teamwork. When you are refactoring, resist the urge to be frustrated with the original author of the code for creating the mess that you are cleaning up. The original code was the result of business pressures and limits of available knowledge that you may not be privy to. Look for the value that the code created in the first place and help to make it less costly. Refactoring is not a burden; it is simply part of the task that you’re now working on.
—
Developers: This is a lesson I wish I had learned years ago.