OpenEtymology

constructor

UK/kənˈstrʌktə/US/kənˈstrʌktər/

Meaning

1名詞

建設者、建造者、設計者

2名詞

(プログラミングで)コンストラクタ、構築子

Structure

word structure
1
con
共に、一緒に
+
2
建てる、組み立てる
+
3
or
〜する人、〜するもの

Usage

The constructor of this bridge was a famous engineer.

この橋の建設者は有名な技術者だった。

In object-oriented programming, a constructor is called when an object is created.

オブジェクト指向プログラミングでは、オブジェクトが生成されるときにコンストラクタが呼び出される。

The constructor of the building used high-quality materials.

その建物の施工業者は高品質の材料を使用した。

Etymology

ラテン語の construere(一緒に積み上げる、建てる)に由来し、その行為者名詞 constructor(建設者)が英語に入った。

Analysis

元々は物理的な建設者を指していたが、20世紀のプログラミング分野で、オブジェクトを初期化する特別な関数を指すようになった。

パソコンの Chrome なら、ほかのサイトでも単語を選ぶだけでこのように調べられます。 Chrome 拡張機能 · Chrome に追加

constructorの意味と語源:建設者、建造者、設計者 | OpenEtymology