-
Notifications
You must be signed in to change notification settings - Fork 5
타입으로 견고하게 다형성으로 유연하게 2주차 - Harry #461
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: "RobustWithTypeFlexibleWithPolymorphism-2\uC8FC\uCC28"
Conversation
|
우측에 있는 |
jongfeel
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.
👍
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.
2장의 여러 분들의 핵심 논의 사항들이 TypeScript를 경험해 보지 못해서 겪는 새로운 혹은 빨리 이해할 수 없는 문법인 것 같습니다.
차라리 TypeScript를 실무에 몇 년간 써본 사람을 찾고 소감을 물어보는게 더 빠를 것 같다는 느낌입니다.
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.
일급 함수를 알고 계시면 표현 방식에 대한 것만 이해하면 됩니다.
swift도 -> 표현을 쓰므로 다른 언어와 크게 다르지는 않습니다.

2장은 1장 대비 이해 안되는 부분이 곳곳에 있었는데, 평소에 잘 사용하지 않는 Any, Nothing(Never)같은 타입에 대해 알아볼 수 있어서 좋았습니다. 또한 추상메서드가 구조에 의한 다형성을 고려해서 나온 개념과 이유를 알게 되어 좋았습니다.
함수와 서브타입은 말로만 너무 장황하게 설명해서 그려가면서 이해를 해야했는데, 책이 좀 불친절했던 것 같고... 매개변수 쪽은 아직 이해를 못한 상태입니다.