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

elaboration needed on a small point #391

Open
Bamieh opened this issue Mar 19, 2017 · 0 comments
Open

elaboration needed on a small point #391

Bamieh opened this issue Mar 19, 2017 · 0 comments

Comments

@Bamieh
Copy link

Bamieh commented Mar 19, 2017

Hey Nicholas,
I am re-reading some parts of your book, and i could not just let go of this little point, so i wanted to share my thoughts with you.

in the section Easy Prototype Access with Super References, you've written that,

Because super references are not dynamic, they always refer to the correct object. In this case, super.getGreeting() always refers to person.getGreeting(), regardless of how many other objects inherit the method.

I believe you mean by not dynamic is that its bound to the [[HomeObject]] instead of using this directly. But my mind kept linking it to dynamic polymorphism, in that case it is dynamic, maybe a rephrase to something like "doesnt depend on "this" in its invocation" might be a little more clearer?

Tell me what you think, cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant