refactor

重构

词形变化

refactors 复数 refactored refactoring refactors 三单 refactors refactoring 现在分词 refactored 过去式 refactored 过去分词

释义与例句

n.
  1. 1.

    The process by which source code is refactored.

    计算机 工程 数学

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

v.
  1. 1.

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

    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.

词源

From re- + factor.

来源:wiktionary