Link Details

Link 974823 thumbnail
User 359479 avatar

By mrohad
via h30499.www3.hp.com
Published: May 29 2013 / 06:11

JavaScript is an excellent language for Object Oriented programmig although its prototypical iheritance mechanism is often misunderstood. Alex Sexton (@slexaxton) recently posted a nice (and somewhat ammusing) blog post called "Understanding JavaScript Inheritance" which gives a fresh and interesting view on the whole topic. There are numerous other articles, blog posts, etc., available around this topic. Most of them explain various ways to implement JavaScript inheritance (e.g. this and the famous one by John Resig here). The problem, as far as I can see it, is that as a newbie JavaScript developer one might be lost in the slew of the specific details that each and every such post presents. In this blog post I want to try a diffrent approach where I create a general overview of the various metodologies without naming them with specific names (such as "Functional", "Pseudoclassical", "Pseudoclassifunctional", or "Jerry"). I hope that after reading this blog post you will be able to understand the best direction to take with your inheritance scheme.
  • 8
  • 2
  • 434
  • 526

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)



Debugging JavaScript
Written by: Ashutosh Sharma
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Java EE7
  2. Spring Annotations
  3. Git
  4. Java
  5. REST