Community Member Profile
- Profile: /members/9572-Pangus.htm
- Comments: 3
- Points: 31
Recent Blog Comments By Pangus
-
Private Variables Do Not Necessarily Break Prototypal Inheritance In Javascript
Posted on Feb 2, 2012 at 10:31 PM
Using this implemenation of inheritance, can I override a parent function in a derived class and then call the parent function from the overriding function? If so, what would that look like?... read more »
-
Object.create() Improves Constructor-Based Inheritance In Javascript - It Doesn't Replace It
Posted on Feb 2, 2012 at 9:13 PM
@Frank, Thanks for the speedy response and the reading recommendations. I'm not sure I see what you're getting at in the example. However, your mention of objects passing by reference and trying to work out your example got me thinking... If I pass an object as a parameter, it... read more »
-
Object.create() Improves Constructor-Based Inheritance In Javascript - It Doesn't Replace It
Posted on Feb 2, 2012 at 2:12 PM
Very helpful set of articles. I am a c++ man delving into javascript inheritance for the first time and have settled on your suggestion. I don't think I fully understand all the advantages and disadvantages of each pattern yet but I learn a lot better coding than I do reading and this pattern see... read more »



