앞의 몇 가지 예제와 달리 디아즈와 하메스는 ‘인터페이스’ 개념을 사용하여 데코레이터가 다
른 프로그래밍 언어(자바나
C
++)에서는 어떻게 구현되는지에 초점을 두었습니다. 이 인터
페이스에 대해 상세히 알아봅시다.
데코레이터 패턴의 변형 버전은 참고용입니다. 너무 어렵다고 느껴진다면 앞서 다뤘던 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.