-
Notifications
You must be signed in to change notification settings - Fork 2
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
[김동규] 챕터 6: 변경 가능한 데이터 구조를 가진 언어에서 불변성 유지하기 #39
The head ref may contain hidden characters: "\uCC55\uD1306/\uAE40\uB3D9\uADDC"
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다! 👍🏻
배열을 복사하고 원하는 객체를 찾아 복사하고 데이터 수정후 다시 리턴 | ||
결국 바뀐것 1개 안바뀐 것 2개 | ||
각 배열의 안바뀐 객체 2개는 같은 메모리 데이터를 보고 있으니 | ||
이게 구조적 공유라는건가요?? | ||
|
||
도움.... 이해 하신분??! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 동규님이 써주신 의견과 동일하게 이해했슴다!! 💭
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 그렇게 이해했어용 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 👍 👍 👍
배열을 복사하고 원하는 객체를 찾아 복사하고 데이터 수정후 다시 리턴 | ||
결국 바뀐것 1개 안바뀐 것 2개 | ||
각 배열의 안바뀐 객체 2개는 같은 메모리 데이터를 보고 있으니 | ||
이게 구조적 공유라는건가요?? | ||
|
||
도움.... 이해 하신분??! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 그렇게 이해했어용 !
완료!