Why I don’t Use Prototypal Inheritance in JavaScript
Object oriented semantics in JavaScript do not really exist, leaving a vacuum that has been filled with dozens of popular techniques for achieving this. Early on Douglas Crockford, a senior architect at Yahoo shared with the community some of the mechanics of implementing classical inheritance. Since then many popular frameworks implemented versions of classical inheritance. Later in 2006 he retracted [...]
JavaScript Inheritance Minimalist Helper
In my last article I talked about how classical inheritance could be done au naturel without any helpers. There are a number of helpers that make inheritance easier. If you are using a library such as Prototype or Google Closure you probably will use their method of doing inheritance. If not you might choose Douglas [...]
JavaScript Inheritance Au Naturel
How many times have you heard that “inheritance is frequently misunderstood even by experienced JavaScript programmers”. I am here to say that after programming JavaScript for 10 years and using inheritance for much of that period I was still confused. So recently I spent some time trying to wrap my head around this to determine [...]