5 ms·
All of these comments taking a crap on jQuery are hilarious. It's like saying "Using lodash is bad because then you don't learn real javascript and you rely on
by oldboyFX 10y ago
All of these comments taking a crap on jQuery are hilarious.
It's like saying "Using lodash is bad because then you don't learn real javascript and you rely on another big library to do the job for you".
Becoming an expert DOM manipulator in vanilla javascript won't make you a good developer. DOM manipulation is incredibly trivial but involves a lot of grunt work, and jQuery is just a utility lib that makes the grunt work easier. Just like lodash, moment.js or any other lib.
I think people are just super salty because jQuery is popular, everyone uses it, which means that a lot of bad developers use it, and bad developers produce spaghetti code - which means that jQuery is bad? lol.
You know there's a lot of morons who eat pizza, does that mean that ordering pizza once in a while makes you a moron?
Writing good or bad code has nothing to do with jQuery, lodash, React, or any other library.
If you're a shit programmer you will write shit code. If you're a good programmer you won't.
If you're rendering server side, you're going to use imperative DOM manipulation library - jQuery is a good choice.
If you're rendering client side, you don't need jQuery, you're going to use a rendering library.
I don't get why people have problems with grasping such simple concepts.
/rant