refactor
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
- restructure
- rework
- clean up
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
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.”
“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.”
Images
CC-licensed · free to useVideo
Language information
- Language
- English
- English
- Script
- Latin
- Family
- Indo-European
- Speakers
- 1.5B
