えいたんごクイズ

refactoring

/ˌriːˈfæktərɪŋ/
noun

リファクタリング

解説 Definition

ソフトウェア開発において、プログラムの外部動作は変えずに内部構造を改善する作業。コードの可読性、保守性、および効率性を向上させることが目的。

Refactoring is the process of changing the structure of code to make it cleaner, easier to understand, or easier to maintain, without changing what it does. It is common in software development when improving old or messy code. The word is mainly used in technical contexts.

覚え方のコツ Memory Tip

プログラミングでは re- が付くと「やり直す・組み替える」の感覚。refactoring は rewrite と違い、外から見える動作はそのままで、中のコードだけを整理し直す作業として覚えると定着しやすいです。よく code refactoring, refactor the code の形で出てきます。bug fix や new feature ではなく、readability や maintainability を上げるための「中身の改善」だと結び付けると迷いません。

Think of `re-` as "again" and `factor` as arranging parts. In coding, `refactoring` is not the same as `rewriting`: you keep the outside result, but improve the inside structure. Remember common phrases like `code refactoring` and `refactor the code`.

例文

The development team spent weeks refactoring the legacy code to improve maintainability.

開発チームは保守性を向上させるため、レガシーコードのリファクタリングに数週間を費やした。

Refactoring reduces technical debt without changing the program's external behavior.

リファクタリングはプログラムの外部動作を変えずに技術的負債を削減する。

We prioritized refactoring to make the codebase easier to understand.

私たちはコードベースを理解しやすくするためにリファクタリングを優先した。

refactoring の類義語・関連語

refactoring の語源・成り立ち Etymology

refactoring は re-「再び」+ factoring に由来し、factor はラテン語 facere「作る」に遡るため、「作りを組み直す」が核の発想です。factor や factory も同根で、外からの動作は変えず内側の構成だけ整える意味が部品から納得できます。

Refactoring is built from re- "again" and factoring. Factor ultimately goes back to Latin facere, meaning "to make" or "to do." The core idea is making the internal structure again in a better way. Related English words from the same root include factor, factory, and manufacture.

外部辞書で調べる

この単語をシェア

この単語を英単語クイズで覚えよう