I’m joining the crowd that says “Javascript don’t suck, you do!” (kudos to this guy, which btw has the funniest blog on .net space). The more I work with it, the more I like it. Some thoughts:
jQuery
It rocks. Such an active and dynamic community. The documentation could have more samples though. My advice is that you grab the source from their SVN. I learned more reading their test cases than by reading their docs.
jQuery Metadata
Simply beautiful
Prototype
Got some mixed feelings about it. I’m definitely comfortable with it, but not sure it’s the best JS lib out there.
Castle and Prototype
MonoRail is too coupled with Prototype. I realized that after converting my UI code to jQuery only. One can argue that jQuery can work peacefully with prototype, but I think it loses all its sugar.
We need to fix that.
JS is not for sissies
Some useful references.
- Prototypal Inheritance in JavaScript – in fact check all the http://javascript.crockford.com/ and also this ppt
- OOP is JS