We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
12장에서 말했던 내용중에 상속의 올바른 용도는 타입 계층을 구현하는 것이다 이 내용이 어렵다고 생각하고 있었는데 마침 13장에서 다시 복습겸 알려주는 내용이 좋았던거 같아.
상속의 올바른 용도는 타입 계층을 구현하는 것이다
특히 공감이 갔던 내용은 두 가지 후보 개념이 어떤 방식으로 사용되고 협력하는지 살펴본 후에 상속의 적용 여부를 결정해도 늦지 않는다. 이거인거 같아
그리고 고민이 좀 되는건 아래 내용이야
Q) 상속은 타입 계층을 구현할 수 있는 전통적인 방법이지만 유일한 방법은 아니다. 상속을 사용하지 않고도 타입 계층을 구현할 수 있는 다양한 방법이 존재한다.
상속을 사용하지 않고도 타입 계층을 구현할 수 있는 다양한 방법이 존재한다는데 자바, 코틀린에서는 인터페이스 밖에 생각이 안나는데 다른 방법이 있을까?
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: