Asimov's three laws of refactoring.

Robot on the Taff

  1. A refactoring may not change behaviour or, through inaction, allow behaviour to change.
  2. A refactoring must obey the orders given to it by Martin Fowler, except where such orders would conflict with the First Law.
  3. 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.