Update to “Inheritance in JavaScript”
Sunday, March 26th, 2006Surprisingly, I’m seeing more and more traffic to my “Inheritance in JavaScript” tutorial. As that traffic has increased, there have been a number of legitimate complaints about my use of an “init” method to initialize base classes and child classes. I found a way around that last October, so I thought it was high time to incorporate that approach into the tutorial. So, if you find C#/Java-style OOP in JavaScript interesting (or at least not offensive), then you may enjoy my latest updated tutorial.
http://www.kevlindev.com/tutorials/javascript/inheritance/index.htm
Special thanks go to Robin Debreuil - aka. The Prototype Master - for suggesting how to get around the use of “init”. Also, special thanks to Peter Michaux (and many others) for gently prodding me to update my tutorial.