Already a member? Log in
Please enter your username below and press the send button.A password reset link will be sent to you.
If you are unable to access the email address originally associated with your Delicious account, we recommend creating a new account.
http://javascriptweblog.wordpress.com/2010/12/22/delegation-vs-inheritance-...
javascriptweblog.wordpress.com
This link recently saved by sonofbluerobot on December 23, 2010
Delegation is a technique that promotes code reuse by allowing runtime function invocation in the context of a specific instance – regardless of the hierarchical lineage of instance and function. JavaScript has excellent support for Delegation in the form of call and apply which lets us inject an object into the this value of any function. This permits unfeterred code sharing, free from the constraints of unwieldy, unnatural and overly complex hierarchies.
http://phrogz.net/JS/Classes/OOPinJS2.html
This link recently saved by sonofbluerobot on December 08, 2009