Cover page by Don Roberts, William Opdyke, Kent Beck, Martin Fowler, John Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Chapter 2. Principles in Refactoring

The preceding example should have given you a good feel for what refactoring is all about. Now it’s time to step back and look at the key principles of refactoring and at some of the issues you need to think about in using refactoring.

Defining Refactoring

I’m always a little leery of definitions because everyone has his or her own, but when you write a book you get to choose your own definitions. In this case I’m basing my definitions on the work done by Ralph Johnson’s group and assorted associates.

The first thing to say about this is that the word Refactoring has two definitions depending on context. You might find this annoying (I certainly do), but it serves as yet another example of the realities of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required