Definify.com

Definition 2024


refactor

refactor

English

Verb

refactor (third-person singular simple present refactors, present participle refactoring, simple past and past participle refactored)

  1. (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.
  2. (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.

Translations