実際にどう使われますか?
下の例文を通して、それぞれの単語がどのような状況で使われるのか学んでみましょう!
mutator
例文
The setAge() method is a mutator that changes the age attribute of the Person object. [mutator: noun]
setAge() メソッドは、Person オブジェクトの age 属性を変更するミューテーターです。[mutator: 名詞]
例文
The decorator pattern is a design pattern that uses mutators to modify the behavior of an existing class. [mutators: plural noun]
デコレーター・パターンは、ミューテーターを使用して既存のクラスの振る舞いを変更するデザイン・パターンです。 [mutators: 複数形名詞]
例文
The CRISPR-Cas9 system is a gene editing tool that acts as a mutator to alter the DNA sequence of an organism. [mutator: noun]
CRISPR-Cas9システムは、生物のDNA配列を変化させる変異体として機能する遺伝子編集ツールです。[mutator: 名詞]
converter
例文
I used an online converter to change the PDF file to a Word document. [converter: noun]
オンラインコンバーターを使用して、PDFファイルをWord文書に変更しました。[変換:名詞]
例文
The analog-to-digital converter (ADC) is a device that converts analog signals to digital signals. [converter: noun]
A/Dコンバータ(ADC)は、アナログ信号をデジタル信号に変換するデバイスです。[変換:名詞]
例文
He was a devout Hindu who later became a Christian convert. [convert: noun]
彼は敬虔なヒンドゥー教徒で、後にキリスト教に改宗しました。[変換:名詞]
追加で知っておくといいこと
どっちの方がよく使われますか?
Converter は、日常語では mutator よりも一般的に使用されています。 Converter は幅広い文脈をカバーする汎用性の高い用語ですが、 mutator はプログラミングと遺伝学に特化しています。
どっちの方がよりフォーマルですか?
mutatorとconverterはどちらも、形式的または技術的な文脈で使用される可能性が高い専門用語です。ただし、converterはより用途が広く、公式と非公式の両方の設定で使用できますが、mutatorはプログラミングと遺伝学に特化しているため、日常の言語ではあまり一般的ではありません。