Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10장 336p. 템플릿 메서드 패턴이라고 볼 수 있나요? #44

Open
wonslee opened this issue Feb 4, 2024 · 1 comment
Open
Labels
궁금한 내용 및 토론하고 싶은 내용

Comments

@wonslee
Copy link
Owner

wonslee commented Feb 4, 2024

직접 언급되지는 않았지만
변하지 않는 부분을 슈퍼 클래스로 옮기고, 변하는 부분을 서브 클래스에서 오버라이딩해 만들도록 하는 부분이 템플릿 메서드 패턴이라고 생각했습니다.

어떻게 생각하시나요?

@wonslee wonslee added the 궁금한 내용 및 토론하고 싶은 내용 label Feb 4, 2024
@kmw2378
Copy link
Collaborator

kmw2378 commented Feb 6, 2024

저도 동일하게 생각합니다. 템플릿 메서드 또한 변경 포인트를 기준으로 계층을 나눠 DIP를 준수하는 것을 목표로 한다고 알고 있습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
궁금한 내용 및 토론하고 싶은 내용
Projects
None yet
Development

No branches or pull requests

2 participants