Category: Science & TechnologyPart of speech: verbDifficulty: Advanced

refactor

/refactor/Roman
/riːˈfæk.tər/IPA

English meaning: Refactor

Definition

To restructure existing code to improve it without changing what it does.

Example

“The developer refactored the messy module so future changes would be far easier.”

Another example: “Before adding new features, the team decided to refactor the messy old codebase.”

Usage — When, Where & How

A software verb meaning to restructure code to improve it without changing its behaviour. Developer jargon, informal-to-neutral within the field. Also a noun ("do a refactor"). Rare outside programming.

Etymology & Origin

English — Origin & History

From 're-' and 'factor'; the software sense was popularized in the 1990s.

Synonyms

Related Words

  • code
  • codebase
  • cleanup
  • restructure
  • maintainability
  • technical-debt

Common Collocations

  • refactor the code
  • refactor a function
  • heavy refactor
  • refactor for clarity
  • refactor the codebase

Word Forms

refactor (v); refactored; refactoring (n); refactor (n)

Word Tools

3 syllables

Tools & Calculators

Literary Heritage

“To thine own self be true, and it must follow, as the night the day, thou canst not then be false to any man.”

/To thine own self be true/

“Be honest with yourself — and as naturally as night follows day, you will be unable to be false to others.”

William Shakespeare · Playwright & Poet · 1564–1616

Hamlet, Act II

Hamlet, II.i — Polonius's parting words to Laertes; the most quoted line in Shakespeare

“I'm nobody! Who are you? Are you nobody, too?”

/I'm nobody! Who are you?/

“I am nobody — and that quiet anonymity is more honest than the noise of public fame.”

Emily Dickinson · Poet · 1830–1886

Poems

Poem 288 — Dickinson's subversive celebration of solitude over social recognition

Images

CC-licensed · free to use
More on Wikimedia
Loading images…

Video

Language information

Language
English
English
Script
Latin
Family
Indo-European
Speakers
1.5B
Back to English Dictionary