3 ms·
jQuery may be outdated from a JS point of view, but nothing beats its syntax. Nothing is as simple and straightforward.
by whoisjuan 8y ago
jQuery may be outdated from a JS point of view, but nothing beats its syntax. Nothing is as simple and straightforward.
- nullandvoid 8y agoIndeed it's polymorphic overloads ( over 10 on the $() method! ) were commendated in The book 'modular JavaScript' i'm reading right now. Whilst it would be questionable offering quite that many options nowadays on a library method it certainly helped devs get productive quickly and helped it become a such a success
- nkozyra 8y agoMost of its syntax is now part of JS/DOM natively now. I think that's because of how intuitive it was. It's not cool anymore but there's little compelling reason to tear it out of existing projects other than a refactor. It still works.
- mercer 8y agoI've been jQuery-less for quite a while now, but honestly I still miss it sometimes. [...document.querySelectorAll()], event binding, and quite a lot of other jQuery stuff is still a bit more verbose, even in the hippest browser environments.