추상화 - 안톨리니 - #6
Open
Antoliny0919 wants to merge 1 commit into
Open
Conversation
Antoliny0919
requested review from
geongyu09,
gustn99,
vlmbuyd and
yundol777
as code owners
August 10, 2026 11:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 이번 장에서 학습한 내용
매번 설계할때마다 '객체'를 먼저 고려했다.
단순히 이 '객체'가 어떤 상태를 가지고 어떤 메서드를 가질지 생각하고 판단했다.
하지만 이 방식이 잘못되었다는걸 느꼈다.
'객체'를 생각하기 전에 가장 먼저 '메시지'를 생각해야 하고 항상 '협력'이라는 문맥안에서 '객체'를 생각해야 한다.
'협력'안에서 어떤 '메시지'가 필요한가 ?
그리고 그 '메시지'를 가장 잘 표현할 수 있는, 상태를 소유한 '객체'는 누구인가 ?
🖥️ 프론트엔드 관점에서의 적용
CRC 카드를 만들어 보았다.
과거에 했던 미션에 적용해 보면서 책임에 비해 잘못된 상태나 행동을 가진 컴포넌트를 유추했다.