4 ms·
Funny that jQuery is one of the most liked technologies/tools on SO given the hate it gets recently from the community. I have a neutral stance on jQuery. I lo
by gotchange 11y ago
Funny that jQuery is one of the most liked technologies/tools on SO given the hate it gets recently from the community.
I have a neutral stance on jQuery. I love some parts of the library like its Sizzle engine and the extended selectors it provides out of the box and on the other hand, there are parts that I dislike like animation (very quirky to my taste) but I can't really feel any disdain or negative emotions toward it because I am still well versed in JS/DOM API and I can really accomplish a lot of stuff in the absence of jQuery.
So, this animosity toward jQuery is but unfathomable to me.
- debacle 11y agoMost of the people who I have met who hate on jQuery haven't used it extensively and can't write a piece of software without npm.
- timrichard 11y agoJust my $0.02... I don't think there's anything wrong with jQuery, and these days it might be a smart choice to lightly augment a website, as opposed to powering a webapp. I've inherited jQuery and Angular codebases on freelance jobs in recent years, and I can say for certain that I'd much rather inherit an Angular project than a jQuery one. You have a fighting chance that the logic will be segregated into the components you would expect, rather than spaghetti markup/js mashups with bits of event handling logic blurted all over the place. That is of course the worst case scenario for a bad jQuery project, but it's often the reality when you step into a messy codebase where a procession of people have hacked around for a short while and then departed. I'm thinking in particular of a situation when a crappy, derelict jQuery plugin had been chucked into the project a while previously, and was triggering "stop script" prompts in certain versions of IE. Fun to debug. It's a framework/library thing. Angular is opinionated, but that's worked in my favour to date.
- duderific 11y agoThe good thing about jQuery is that it makes developing web apps easier. The bad thing about jQuery is that it makes developing web apps easier.