News for hackers. Stuff that matters.
Re:JavaScript Programming Patterns by nkohari on Tuesday October 06, 2009 @10:10AM (#864130)
I recently found JS.Class:

http://jsclass.jcoglan.com/

It provides Ruby-style inheritance patterns for Javascript. Initially I was skeptical (most of the other attempts at adding OOP structure to JS have been awful), but it's simplified my code significantly. I've also found that it plays nicely with jQuery, as long as you know when to be functional and when to be object-oriented.

There are no comments on this comment yet.