Skip to content

[3주차] 프로토타입 #10

@aken-you

Description

@aken-you

주제

프로토타입

선정 이유

프로토타입에 대해서 구체적으로 더 알고 싶어서다.
예전에 아마존 미션때 크롱이 알려준 prototype 보면서 새삼스러워 이 주제를 들고왔다.

책 내용 (p119 ~ p121)

p119

프로토타입 연결 장치를 사용하는 방법을 프로토타입 클래스라 부릅니다.

p120

프로토타입 클래스 패턴에서는 이런 방식의 위임을 상속이라 부릅니다.

p121

클래스 메커니즘과 프로토타입 클래스 모두 저 밑바닥에서는 동일한 프로토타입 연결 장치로 설정되어 있습니다.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions