There’s something about hardcore developers wanting to port some of their favorites languages and libraries on to frameworks that don’t initially support them.
Such is the case with projects such as IronPython, IronRuby, and so on.
Apparently, James Coglan felt the same way and did something about it with JS.Class.
Dig this kind of stuff – you get all the features of nice, mainstream truly object-oriented language built-in with syntax that you’re already used to using.
Straight from the developer:
JS.Class is a set of tools designed to make it easy to build robust object-oriented programs in JavaScript. It’s based on Ruby, and gives you access to Ruby’s object, module and class systems, some of its reflection and metaprogramming facilities, and a few of the packages from its standard library. It also provides a powerful package manager to help load your applications as efficiently as possible.
Sure, problems such as inheritance in JavaScript have been covered by other projects but that’s just one feature of this particular project. You also get mixins, method binding, reflection, and more.
You can download the library here or browse tutorials and the API on the homepage.
Speak your mind...