Development Methods & Design

Refactoring

English

Overview

Reorganizing and improving code's internal structure without changing its external behavior.

Details

The work of improving code's internal structure without changing its externally observable behavior, aimed at improving readability and maintainability. Existing unit tests act as a safety net, so code with poor test coverage carries higher risk when refactored.

More Programming terms