Refactoring

Refactoring is reorganizing the structure of an existing component or solution to make it easier to understand and cheaper to modify without changing its observable behavior.

Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure. It is a disciplined way to clean up code that minimizes the chances of introducing defects. In essence when you refactor you are improving the design of code after it has been written.

—[Fowler]

Refactoring is a common activity as the project develops. Components need to be refactored to provide a better interface, and parts of components need to be restructured to meet new service requirements. One ...

Get Service- and Component-based Development: Using Select Perspective™ and UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.