4

Why do people love using jQuery so much? 🤮

Comments
  • 3
    Vanilla does the job so well now with ES6
  • 0
    Because it just works, as it should've !!
  • 0
    Because it dramatically changed how people write JS, and laid the foundations to what JS has become syntax-wise today. It is still easier to have jQuery to easily write browser-compatible JS rather than plain ol’ JS. In a few more years perhaps, once browsers have become nicer with ES6, it’s place might only be left for old browsers. Once those become obsolete, and if jQuery core doesn’t do anything else, it will become a history that we should appreciate. It’s gonna stay, in one form or another.
  • 5
    Because it does the job. Especially as a backend dev/server engineer I am not going to learn client side JavaScript for a simple site, I just want it to work so that I can work on the backend again fast.
  • 0
    @Japorized if you babel, old browsers have no issues. I write modern js that works fine in IE11.
    Sometimes I add polyfills if I need. Like I have a polyfill for forEach because an Edge version fucked that up
  • 1
    @ChainsawBaby If you’ve already learnt ES6, yes, Babel will do that job for you. But if you’re been using jQuery for a long time since before Babel even came out, and hadn’t had the time to look into ES6, I don’t see why not. And with Babel, you have to take an extra step compiling your code. With jQuery, just have the library sit there, and all you just need to do is edit your JS and refresh your browser. Imo, it’s just a difference in approach and needs, and to each their own.
  • 0
    Cus browser compability was a pain in the ass back in the days.

    And all that babel stuff needs more time to set up than you need to learn jquery.
  • 2
    @Japorized I look back 1.5 year, all I wrote was jQuery, now, it’s all vanilla js
  • 0
    @ChainsawBaby Well, good for you. I’m a hobbyist myself so I can’t put as much time into learning the new syntax and I started with jQuery when I was much younger. I am, very slowly, learning and writing plain JS now.
Add Comment