-
Notifications
You must be signed in to change notification settings - Fork 1
디자인패턴 이터레이터 노출모듈 패턴 #10
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
The head ref may contain hidden characters: "\uB514\uC790\uC778\uD328\uD134_\uC774\uD130\uB808\uC774\uD130_\uB178\uCD9C\uBAA8\uB4C8_\uD328\uD134"
Conversation
sendmethere
left a comment
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.
잘 정리해주셔서 감사합니다. 이터레이터는 그저 순환가능한 요소라고만 생각했는데
근본적인 설명을 해주셔서 감사합니다.
nlom0218
left a comment
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.
배열, 문자열, 맵, 셋 등등 이터레이블한 객체여서 순회가 가능하다고만 알고 있었는데, 순회가 가능한 이유가 바로 이터레이터 패턴으로 인해 가능했던 거네요!
노출 모듈 패턴도 자바스크립트에서만 사용하는 패턴이라는 것이 재밌는 내용같아 흥미로웠습니다:)
|
파이썬에서 이터러블하다라는 말만 들었었는데 이게 패턴이라는 것을 배울 수 있었습니다. 노출모듈은 정말 자바에만 있는 것 같네요. 파이썬의 _ 기능이 패턴이란 것도 배울 수 있어서 감사했습니다. ㅎㅎ |
Szzng
left a comment
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.
굿!
nerburiya
left a comment
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.
좋은 내용 감사합니다.ㅎㅎ
sendmethere
left a comment
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.
확인했습니다. 👍
No description provided.