Friday September 4th

Thursday September 3rd

Object Orientation In JavaScript II [Inheritance]

well there are two ways inheritance can be implemented in JavaScript

2 comments

This and a previous post are the least performant and recommended ways to do OOP in JS.
The correct way is to use prototypes.

Even the IE team recommends it:
http://blogs.msdn.com/ie/archive/2007/01/04/ie-jscript-performance-recommendations-part-3-javascript-code-inefficiencies.aspx

I appreciate author's effort, but it is a pity a bad practice got it to the front page.

i actually enjoyed the IE blog post i particularly liked the comments of developers :D

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network