Over a million developers have joined DZone.

Asimov's Three Laws of Refactoring

DZone's Guide to

Asimov's Three Laws of Refactoring

· Java Zone ·
Free Resource

Verify, standardize, and correct the Big 4 + more– name, email, phone and global addresses – try our Data Quality APIs now at Melissa Developer Portal!

  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.

Developers! Quickly and easily gain access to the tools and information you need! Explore, test and combine our data quality APIs at Melissa Developer Portal – home to tools that save time and boost revenue. 


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}