Asimov's three laws of refactoring.
- A refactoring may not change behaviour or, through inaction, allow behaviour to change.
- A refactoring must obey the orders given to it by Martin Fowler, except where such orders would conflict with the First Law.
- A refactoring must continue its own existence as long as such continuation does not conflict with the First or Second Law.
Photo credit attribution.
CC image Robot on the Taff courtesy of JohnGreenaway on Flickr.