3 ms·
I applaud the author for figuring out how and blogging about how to get away without using jQuery but I'll say the same thing I said last time I saw one of thes
by joshstrange 12y ago
I applaud the author for figuring out how and blogging about how to get away without using jQuery but I'll say the same thing I said last time I saw one of these posts:
> If we've heard this argument once we've heard it a million times. Of course you don't need jQuery but unless you are writing an internal-only app and plan on writing everything from the ground up (all your auto-completes, multi-selects, etc) then you do need jQuery.
> I am not a fan of a lot of the code that I've seen written with jQuery but jQuery itself is not evil anymore than PHP is evil because people do stupid stuff with it. If you use jQuery correctly it is an invaluable tool that makes your like 100x easier.
> Event handling alone, I want to puke when I see the default way to do this, way too much typing, way too verbose. If I had to write that multiple times a day then I would probably create a helper function to abstract it away and I'd be on my way to building my own jQuery. No thank you, I'll take the one that's battle-tested and maintained.
> I'm getting sick of seeing this argument, if you work in a bubble then sure, be my guest (I'll be laughing at all the extra typing you will be doing) but if you plan on deploying your code to the real world? Just use jQuery and save yourself a headache.
- izietto 12y agoI would add another point, which is the strongest IMHO: using jQuery you won't incur any of the tons browser bugs fixed by jQuery, like for instance [this workaround to bugged Safari 7.1/8.0 querySelector](http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-released-safari-fail-safe-edition http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-re...), which was just solved.