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

[김동규] 챕터 6: 변경 가능한 데이터 구조를 가진 언어에서 불변성 유지하기 #39

Merged
merged 1 commit into from
May 22, 2024

Conversation

Dongkyuuuu
Copy link
Contributor

완료!

Copy link
Contributor

@sangbooom sangbooom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다! 👍🏻

Comment on lines +61 to +66
배열을 복사하고 원하는 객체를 찾아 복사하고 데이터 수정후 다시 리턴
결국 바뀐것 1개 안바뀐 것 2개
각 배열의 안바뀐 객체 2개는 같은 메모리 데이터를 보고 있으니
이게 구조적 공유라는건가요??

도움.... 이해 하신분??!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 동규님이 써주신 의견과 동일하게 이해했슴다!! 💭

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 그렇게 이해했어용 !

Copy link
Member

@hyesungoh hyesungoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 👍 👍 👍

Comment on lines +61 to +66
배열을 복사하고 원하는 객체를 찾아 복사하고 데이터 수정후 다시 리턴
결국 바뀐것 1개 안바뀐 것 2개
각 배열의 안바뀐 객체 2개는 같은 메모리 데이터를 보고 있으니
이게 구조적 공유라는건가요??

도움.... 이해 하신분??!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 그렇게 이해했어용 !

@hyesungoh hyesungoh merged commit fbe78bb into main May 22, 2024
1 check passed
@hyesungoh hyesungoh deleted the 챕터6/김동규 branch May 22, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants