4 ms·
There's nothing wrong with jQuery. Aside from extending and abstracting parts of JS and DOM traversal, it also removes many of the complexities with cross-brows
by jayhuang 11y ago
There's nothing wrong with jQuery. Aside from extending and abstracting parts of JS and DOM traversal, it also removes many of the complexities with cross-browser support, especially with dated browsers.
The biggest issue is when you take something like jQuery and try to have a multi member team working on a significantly complex and large application. It quickly gets out of hand, messy, and increasingly difficult to maintain. This is without taking into consideration the issues that arise if the developers on the team don't have a basic grasp of how to write jQuery code that still performs well with large amounts of actions/DOM manipulation.
Many interviews for front-end positions also want to make sure you don't only know jQuery, but at least have some grasp on DOM traversal/manipulation without crutches like jQuery.
A lot of the bashing though, is really just from people with a superiority complex instead of logical reasoning. Or it's just people who repeat what they hear, kind of like one of the largest hate trains of all: PHP. Kind of like the story about the monkeys, bananas, and a ladder: http://www.wisdompills.com/2014/05/28/the-famous-social-experiment-5-monkeys-a-ladder/ http://www.wisdompills.com/2014/05/28/the-famous-social-expe...