Published October 26, 2019
by Doug Klugh

Keep Your Code Clean

Improve the design of existing code without changing external behavior.  As code is modified over time, its integrity organically degrades.  Refactoring reverses this process to maintain integrity and code quality.

If structure is lacking within the code, be sure to add structure prior to extending functionality.  And if unit tests are missing, be sure to add them prior to refactoring.  You will want to know the moment you break something.