"refactor" meaning in English

See refactor in All languages combined, or Wiktionary

Noun

Forms: refactors [plural]
Etymology: From re- + factor. Etymology templates: {{prefix|en|re|factor}} re- + factor Head templates: {{en-noun}} refactor (plural refactors)
  1. (programming) The process by which source code is refactored. Categories (topical): Programming
    Sense id: en-refactor-en-noun-ed86fokq Categories (other): English terms prefixed with re- Disambiguation of English terms prefixed with re-: 19 43 38 Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, programming, sciences

Verb

Forms: refactors [present, singular, third-person], refactoring [participle, present], refactored [participle, past], refactored [past]
Etymology: From re- + factor. Etymology templates: {{prefix|en|re|factor}} re- + factor Head templates: {{en-verb}} refactor (third-person singular simple present refactors, present participle refactoring, simple past and past participle refactored)
  1. (programming) To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour. Categories (topical): Programming Translations ((computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour): 重構 /重构 (chónggòu) (Chinese Mandarin), refaktorovat (Czech), refaktoroida (Finnish), muotoilla uudelleen (Finnish), refactoriser (French), refactorizar (Spanish), tái cấu trúc (Vietnamese)
    Sense id: en-refactor-en-verb-i2Ktj4E- Categories (other): English terms prefixed with re- Disambiguation of English terms prefixed with re-: 19 43 38 Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, programming, sciences Disambiguation of '(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour': 57 43
  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. Categories (topical): Writing
    Sense id: en-refactor-en-verb-ohEE2utE Categories (other): English entries with incorrect language header, English terms prefixed with re-, Entries with translation boxes, Pages with 1 entry, Pages with entries, Terms with Czech translations, Terms with Finnish translations, Terms with French translations, Terms with Mandarin translations, Terms with Spanish translations, Terms with Vietnamese translations Disambiguation of English entries with incorrect language header: 29 27 44 Disambiguation of English terms prefixed with re-: 19 43 38 Disambiguation of Entries with translation boxes: 17 25 58 Disambiguation of Pages with 1 entry: 29 25 46 Disambiguation of Pages with entries: 28 21 51 Disambiguation of Terms with Czech translations: 21 29 49 Disambiguation of Terms with Finnish translations: 19 24 57 Disambiguation of Terms with French translations: 24 27 50 Disambiguation of Terms with Mandarin translations: 25 30 45 Disambiguation of Terms with Spanish translations: 22 24 54 Disambiguation of Terms with Vietnamese translations: 20 27 53 Topics: communications, journalism, literature, media, publishing, writing

Inflected forms

{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "re",
        "3": "factor"
      },
      "expansion": "re- + factor",
      "name": "prefix"
    }
  ],
  "etymology_text": "From re- + factor.",
  "forms": [
    {
      "form": "refactors",
      "tags": [
        "present",
        "singular",
        "third-person"
      ]
    },
    {
      "form": "refactoring",
      "tags": [
        "participle",
        "present"
      ]
    },
    {
      "form": "refactored",
      "tags": [
        "participle",
        "past"
      ]
    },
    {
      "form": "refactored",
      "tags": [
        "past"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "refactor (third-person singular simple present refactors, present participle refactoring, simple past and past participle refactored)",
      "name": "en-verb"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "verb",
  "senses": [
    {
      "categories": [
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        },
        {
          "_dis": "19 43 38",
          "kind": "other",
          "name": "English terms prefixed with re-",
          "parents": [],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "text": "The code works, but I must refactor it before it is production quality.",
          "type": "example"
        }
      ],
      "glosses": [
        "To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour."
      ],
      "id": "en-refactor-en-verb-i2Ktj4E-",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "rewrite",
          "rewrite"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "improve",
          "improve"
        ],
        [
          "readability",
          "readability"
        ],
        [
          "reusability",
          "reusability"
        ],
        [
          "structure",
          "structure"
        ],
        [
          "affecting",
          "affecting"
        ],
        [
          "meaning",
          "meaning"
        ],
        [
          "behaviour",
          "behaviour"
        ]
      ],
      "raw_glosses": [
        "(programming) To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "translations": [
        {
          "_dis1": "57 43",
          "code": "cmn",
          "lang": "Chinese Mandarin",
          "roman": "chónggòu",
          "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
          "word": "重構 /重构"
        },
        {
          "_dis1": "57 43",
          "code": "cs",
          "lang": "Czech",
          "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
          "word": "refaktorovat"
        },
        {
          "_dis1": "57 43",
          "code": "fi",
          "lang": "Finnish",
          "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
          "word": "refaktoroida"
        },
        {
          "_dis1": "57 43",
          "code": "fi",
          "lang": "Finnish",
          "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
          "word": "muotoilla uudelleen"
        },
        {
          "_dis1": "57 43",
          "code": "fr",
          "lang": "French",
          "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
          "word": "refactoriser"
        },
        {
          "_dis1": "57 43",
          "code": "es",
          "lang": "Spanish",
          "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
          "word": "refactorizar"
        },
        {
          "_dis1": "57 43",
          "code": "vi",
          "lang": "Vietnamese",
          "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
          "word": "tái cấu trúc"
        }
      ]
    },
    {
      "categories": [
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Writing",
          "orig": "en:Writing",
          "parents": [
            "Human behaviour",
            "Language",
            "Human",
            "Communication",
            "All topics",
            "Fundamental"
          ],
          "source": "w"
        },
        {
          "_dis": "29 27 44",
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w+disamb"
        },
        {
          "_dis": "19 43 38",
          "kind": "other",
          "name": "English terms prefixed with re-",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "17 25 58",
          "kind": "other",
          "name": "Entries with translation boxes",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "29 25 46",
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "28 21 51",
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "21 29 49",
          "kind": "other",
          "name": "Terms with Czech translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "19 24 57",
          "kind": "other",
          "name": "Terms with Finnish translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "24 27 50",
          "kind": "other",
          "name": "Terms with French translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "25 30 45",
          "kind": "other",
          "name": "Terms with Mandarin translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "22 24 54",
          "kind": "other",
          "name": "Terms with Spanish translations",
          "parents": [],
          "source": "w+disamb"
        },
        {
          "_dis": "20 27 53",
          "kind": "other",
          "name": "Terms with Vietnamese translations",
          "parents": [],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "text": "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.",
          "type": "example"
        }
      ],
      "glosses": [
        "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."
      ],
      "id": "en-refactor-en-verb-ohEE2utE",
      "links": [
        [
          "writing",
          "writing#Noun"
        ],
        [
          "rewrite",
          "rewrite"
        ],
        [
          "text",
          "text"
        ],
        [
          "improve",
          "improve"
        ],
        [
          "readability",
          "readability"
        ],
        [
          "reusability",
          "reusability"
        ],
        [
          "structure",
          "structure"
        ],
        [
          "intentionally",
          "intentionally"
        ],
        [
          "affecting",
          "affecting"
        ],
        [
          "meaning",
          "meaning"
        ],
        [
          "restructuring",
          "restructuring"
        ],
        [
          "copy edit",
          "copy edit"
        ]
      ],
      "raw_glosses": [
        "(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."
      ],
      "topics": [
        "communications",
        "journalism",
        "literature",
        "media",
        "publishing",
        "writing"
      ]
    }
  ],
  "wikipedia": [
    "refactoring"
  ],
  "word": "refactor"
}

{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "re",
        "3": "factor"
      },
      "expansion": "re- + factor",
      "name": "prefix"
    }
  ],
  "etymology_text": "From re- + factor.",
  "forms": [
    {
      "form": "refactors",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "refactor (plural refactors)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        },
        {
          "_dis": "19 43 38",
          "kind": "other",
          "name": "English terms prefixed with re-",
          "parents": [],
          "source": "w+disamb"
        }
      ],
      "examples": [
        {
          "text": "We don't have time for a major refactor: we're shipping in two weeks.",
          "type": "example"
        }
      ],
      "glosses": [
        "The process by which source code is refactored."
      ],
      "id": "en-refactor-en-noun-ed86fokq",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "source code",
          "source code"
        ]
      ],
      "raw_glosses": [
        "(programming) The process by which source code is refactored."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "refactor"
}
{
  "categories": [
    "English countable nouns",
    "English entries with incorrect language header",
    "English lemmas",
    "English nouns",
    "English terms prefixed with re-",
    "English verbs",
    "Entries with translation boxes",
    "Pages with 1 entry",
    "Pages with entries",
    "Terms with Czech translations",
    "Terms with Finnish translations",
    "Terms with French translations",
    "Terms with Mandarin translations",
    "Terms with Spanish translations",
    "Terms with Vietnamese translations"
  ],
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "re",
        "3": "factor"
      },
      "expansion": "re- + factor",
      "name": "prefix"
    }
  ],
  "etymology_text": "From re- + factor.",
  "forms": [
    {
      "form": "refactors",
      "tags": [
        "present",
        "singular",
        "third-person"
      ]
    },
    {
      "form": "refactoring",
      "tags": [
        "participle",
        "present"
      ]
    },
    {
      "form": "refactored",
      "tags": [
        "participle",
        "past"
      ]
    },
    {
      "form": "refactored",
      "tags": [
        "past"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "refactor (third-person singular simple present refactors, present participle refactoring, simple past and past participle refactored)",
      "name": "en-verb"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "verb",
  "senses": [
    {
      "categories": [
        "English terms with usage examples",
        "en:Programming"
      ],
      "examples": [
        {
          "text": "The code works, but I must refactor it before it is production quality.",
          "type": "example"
        }
      ],
      "glosses": [
        "To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "rewrite",
          "rewrite"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "improve",
          "improve"
        ],
        [
          "readability",
          "readability"
        ],
        [
          "reusability",
          "reusability"
        ],
        [
          "structure",
          "structure"
        ],
        [
          "affecting",
          "affecting"
        ],
        [
          "meaning",
          "meaning"
        ],
        [
          "behaviour",
          "behaviour"
        ]
      ],
      "raw_glosses": [
        "(programming) To rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    },
    {
      "categories": [
        "English terms with usage examples",
        "en:Writing"
      ],
      "examples": [
        {
          "text": "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.",
          "type": "example"
        }
      ],
      "glosses": [
        "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."
      ],
      "links": [
        [
          "writing",
          "writing#Noun"
        ],
        [
          "rewrite",
          "rewrite"
        ],
        [
          "text",
          "text"
        ],
        [
          "improve",
          "improve"
        ],
        [
          "readability",
          "readability"
        ],
        [
          "reusability",
          "reusability"
        ],
        [
          "structure",
          "structure"
        ],
        [
          "intentionally",
          "intentionally"
        ],
        [
          "affecting",
          "affecting"
        ],
        [
          "meaning",
          "meaning"
        ],
        [
          "restructuring",
          "restructuring"
        ],
        [
          "copy edit",
          "copy edit"
        ]
      ],
      "raw_glosses": [
        "(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."
      ],
      "topics": [
        "communications",
        "journalism",
        "literature",
        "media",
        "publishing",
        "writing"
      ]
    }
  ],
  "translations": [
    {
      "code": "cmn",
      "lang": "Chinese Mandarin",
      "roman": "chónggòu",
      "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
      "word": "重構 /重构"
    },
    {
      "code": "cs",
      "lang": "Czech",
      "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
      "word": "refaktorovat"
    },
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
      "word": "refaktoroida"
    },
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
      "word": "muotoilla uudelleen"
    },
    {
      "code": "fr",
      "lang": "French",
      "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
      "word": "refactoriser"
    },
    {
      "code": "es",
      "lang": "Spanish",
      "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
      "word": "refactorizar"
    },
    {
      "code": "vi",
      "lang": "Vietnamese",
      "sense": "(computing) to rewrite existing source code in order to improve its readability, reusability or structure without affecting its meaning or behaviour",
      "word": "tái cấu trúc"
    }
  ],
  "wikipedia": [
    "refactoring"
  ],
  "word": "refactor"
}

{
  "categories": [
    "English countable nouns",
    "English entries with incorrect language header",
    "English lemmas",
    "English nouns",
    "English terms prefixed with re-",
    "English verbs",
    "Entries with translation boxes",
    "Pages with 1 entry",
    "Pages with entries",
    "Terms with Czech translations",
    "Terms with Finnish translations",
    "Terms with French translations",
    "Terms with Mandarin translations",
    "Terms with Spanish translations",
    "Terms with Vietnamese translations"
  ],
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "re",
        "3": "factor"
      },
      "expansion": "re- + factor",
      "name": "prefix"
    }
  ],
  "etymology_text": "From re- + factor.",
  "forms": [
    {
      "form": "refactors",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "refactor (plural refactors)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English terms with usage examples",
        "en:Programming"
      ],
      "examples": [
        {
          "text": "We don't have time for a major refactor: we're shipping in two weeks.",
          "type": "example"
        }
      ],
      "glosses": [
        "The process by which source code is refactored."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "source code",
          "source code"
        ]
      ],
      "raw_glosses": [
        "(programming) The process by which source code is refactored."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "refactor"
}

Download raw JSONL data for refactor meaning in English (6.2kB)


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2025-02-17 from the enwiktionary dump dated 2025-02-02 using wiktextract (ca09fec and c40eb85). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.