(third-person singular simple present refactors, present participle refactoring, simple past and past participle refactored)
- (computing) To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour.
- The code works, but I must refactor it before it is production quality.
- (writing) To rewrite existing text in order to improve its readability, reusability or structure without intentionally affecting its meaning. Similar to, but sometimes involving more extensive restructuring than, copy editing.
- Two significant activities which to contribute to community projects, such as Wikipedia, are to refactor complicated articles into simpler ones, and to refactor duplicated content into reusable templates.
refactor - Computer Definition
To improve the quality of code in a program. Refactoring does not alter the functionality of the software; but makes it more readable and maintainable for future changes.