con·struc·tor
B2건설자·제작자; 프로그래밍의 생성자
noun명사
- 1
건설업자, 시공자 — 건물, 도로, 기계 등을 건설하거나 만드는 사람 또는 회사B2〔general〕
a person or company that builds or makes something, especially a large structure or complex object
The constructor finished the bridge ahead of schedule.
그 건설업체는 예정보다 일찍 다리를 완공했다.
Several constructors submitted bids for the new hospital.
여러 건설업체가 새 병원 공사 입찰에 참여했다.
유의어builder, contractor
반의어demolisher
- 2
생성자 — 프로그래밍에서 객체가 생성될 때 호출되어 객체를 초기화하는 특별한 메서드나 함수C1〔computing〕
in programming, a special method or function that is called when an object is created, often to initialize it
The constructor sets the user's name when the object is created.
그 생성자는 객체가 생성될 때 사용자의 이름을 설정한다.
In Java, a constructor has the same name as the class.
자바에서 생성자는 클래스와 같은 이름을 가진다.
유의어initializer
반의어destructor
- 3
컨스트럭터, 제작사 — 모터스포츠, 특히 포뮬러 원에서 경주용 차를 설계하고 제작하는 팀이나 회사C1〔sports〕
in motor racing, especially Formula One, a team or company that designs and builds racing cars
Ferrari is a famous Formula One constructor.
페라리는 유명한 포뮬러 원 경주차 제작사이다.
The team won the Constructors' Championship last season.
그 팀은 지난 시즌 컨스트럭터스 챔피언십에서 우승했다.
유의어racing team
뉘앙스 · 쓰임
builder는 일상적으로 ‘건축업자/짓는 사람’을 뜻하고, contractor는 계약을 맡은 ‘시공업체/도급업자’의 뉘앙스가 강합니다. constructor는 더 격식 있거나 기술적인 말이며, 프로그래밍에서는 ‘생성자’라는 전문 용어로 쓰입니다.
일상 대화에서 건설 회사를 말할 때는 constructor보다 builder나 construction company가 더 자연스러운 경우가 많습니다. 프로그래밍에서 constructor는 단순히 ‘만드는 사람’이 아니라 객체 생성 시 실행되는 특정 코드 구조를 뜻하므로 creator와 구별해야 합니다.
유의어 뉘앙스 비교
- builder
- 더 일상적이며 특히 집이나 건물을 짓는 사람에게 자주 쓴다.
- contractor
- 계약을 받아 공사나 작업을 수행하는 업체라는 점이 강조된다.
- initializer
- 초기값을 설정하는 기능을 강조하지만, 언어에 따라 constructor와 완전히 같은 용어는 아닐 수 있다.
- racing team
- 경주에 참가하는 팀 전체를 뜻하며, 차를 직접 설계·제작한다는 점은 덜 강조된다.
반의어
- demolisher
- 무언가를 짓는 사람이 아니라 철거하거나 허무는 사람 또는 업체를 뜻한다.
- destructor
- 객체가 생성될 때가 아니라 제거되거나 수명이 끝날 때 관련되는 특수 함수이다.
자주 쓰는 표현 · Collocations
noun+noun
- constructor function생성자 함수
- class constructor클래스 생성자
- Formula One constructor포뮬러 원 경주차 제작사
- Constructors' Championship컨스트럭터스 챔피언십
adj+noun
- default constructor기본 생성자
verb+noun
- call a constructor생성자를 호출하다
어원 · 암기 팁
[Latin]라틴어에서 ‘함께 쌓다, 세우다’를 뜻하는 construere 계열에서 온 construct에 행위자를 나타내는 -or가 붙어 형성된 말이다.
construct(건설하다, 구성하다) + -or(…하는 사람·것)
💡 construct는 ‘건설하다’, -or는 ‘하는 사람/것’이므로 constructor는 ‘건설하는 사람/것’으로 기억하면 된다. 프로그래밍에서는 객체를 ‘만들어 주는 것’이라고 연결해 외울 수 있다.