refactor

verb, noun — 3 senses

refactor

verb

Etymology From re- + factor.

1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences 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

Communications, Journalism, Literature, Media, Publishing, 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.
Derived terms
refactorability, refactorable, refactorer, unrefactored

refactor

noun

Etymology From re- + factor.

1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences The process by which source code is refactored.

  • We don't have time for a major refactor; we're shipping in two weeks.

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.