Skip to content

Comment on Jquery or mootools?

Comments

I tried to ditch jQuery a couple of times, but always coming back. The reasons I dislike it:

    * Stupid API.
    * Stupid API changes.
    * Stupid API documentation.
    * Plugins are minefield.
The recent standardization of event handler attachments (see `.on`) is a lot saner than it used to be, but I believe it is still not there where it should be. (I don't know that place, otherwise I'd have written my own library.)

However, the jQuery ecosystem is hard to leave because

    * Monopoly in terms of plugins,
    * Already cached everywhere (from Google CDN),
    * Solves all cross-platform issues.
There are a few other bits like the culture of short commands because of chained functions, but I personally find that a very minor detail.

I also happen to like the author's ongoing experiments with performance improvements.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.