You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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,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!
The text was updated successfully, but these errors were encountered: