What is differential inheritance in JavaScript?
NickName:Geek Ask DateTime:2013-07-21T19:14:20

What is differential inheritance in JavaScript?

This answer on Object.create() method in JavaScript in SO talks about differential inheritance. It goes on to say this :

This methods allows you to easily implement differential inheritance, where objects can directly inherit from other objects.

As far as I know JavaScript always allowed objects to directly inherit from other objects via prototypal inheritance. There is no concept of a class in JavaScript. So what does differential inheritance really mean and why is it called so?

P.S: I had dropped a comment on that answer some time back but I didn't receive any replies. So wanted to check with the larger and awesome community of SO JavaScript users.

Copyright Notice:Content Author:「Geek」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/17771734/what-is-differential-inheritance-in-javascript

More about “What is differential inheritance in JavaScript?” related questions

What is differential inheritance in JavaScript?

This answer on Object.create() method in JavaScript in SO talks about differential inheritance. It goes on to say this : This methods allows you to easily implement differential inheritance, w...

Show Detail

What is Differential Inheritance in JavaScript

I was trying to understand Prototypal inheritance in JS when I came across this article by Eric Elliott. After reading the article, I learned a couple of things and I wanted to check whether my

Show Detail

The disadvantages of JavaScript prototype inheritance, what are they?

I recently watched Douglas Crockford's JavaScript presentations, where he raves about JavaScript prototype inheritance as if it is the best thing since sliced white bread. Considering Crockford's

Show Detail

What is differential execution?

I stumbled upon a Stack Overflow question, How does differential execution work?, which has a VERY long and detailed answer. All of it made sense... but when I was done I still had no idea what the...

Show Detail

What is the principle of Differential Buffer

I dont really unterstand the principle of differential buffers. The main reason is to avoid the inserting new tuples into main store, because the reorganization of the dictionary and attribute vect...

Show Detail

Class Inheritance in Javascript

I am wondering how to simulate Class Inheritance in JavaScript. I know class doesn't apply to JavaScript, the way we use is Functions to create objects and do the inheritance things through Prototype

Show Detail

what is a differential i/o

In the world of the Spartan 3E Fpga the documentation says Most pins can be paired together to form differential I/Os. The question is: What is a differential Input/Output?

Show Detail

What is differential instructions in PLC?

I'm using Omron CP1L PLC and program with CX-programmer. I have hard time understanding what exactly is "Differential Instructions", from the documentation: With differentiated instructions, exe...

Show Detail

What is the correct prototype affectation in javascript inheritance?

I read several articles on js inheritance already (this one, this one, this one, etc.) In this article from Mozilla, "classic" inheritance is shown as this : (I uniformized examples) // inherit B...

Show Detail

What is the correct prototype affectation in javascript inheritance?

I read several articles on js inheritance already (this one, this one, this one, etc.) In this article from Mozilla, "classic" inheritance is shown as this : (I uniformized examples) // inherit B...

Show Detail