Similarly, there are now a lot of things you can achieve with vanilla JS (or even vanilla CSS) that you used to only be able to achieve with jQuery, and frameworks like React and Angular are viewed more favorably. But lots of devs of a certain age know jQuery, even if they don't currently use it, and there is something to be said for familiarity. Honestly, if I needed to whip something up in a day, I would probably use jQuery rather than a heavier framework.
Ask HN: Is jQuery on its way out?
11–20 of 60 posts
Re: Ask HN: Is jQuery on its way out?
#12This idea of software tools being on the way out is a slippery one. Perl and PHP are both broadly considered to be somewhere between slipping and no longer relevant, yet a close look shows there are still many commercial sites and actively developed frameworks built using those tools. Popularity and recent trends alone are not necessarily a robust guide to utility or futures.
Re: Ask HN: Is jQuery on its way out?
#13jQuery filled a niche when browsers were less standardized and the DOM was harder to work with. It also came about at a time when people were just starting to play with the idea of web apps, and people could get away with less structured approaches to web design.
Re: Ask HN: Is jQuery on its way out?
#14It is quick and easy to access and work with the DOM using jQuery. Both React and Angular are heavyweight libraries that require a lot of bondage and discipline to work as intended. React is from and linked to Facebook and Angular is from and linked to Google. Both of these social media ad companies are broadly considered to be corrupt and potentially best broken up by force of law. There is not particular corporate…
Re: Ask HN: Is jQuery on its way out?
#15Not a perfect analogy, but PHP was on its way out for a while and probably would have gone all the way out -- if it had not been for one very high-profile company that essentially made it usable at scale. And the reason it did so was because even though PHP had little cachet, it was easy to hire PHP devs. Similarly, there are now a lot of things you can achieve with vanilla JS (or even vanilla CSS) that you used to o…
Re: Ask HN: Is jQuery on its way out?
#16However, for building SPAs, jQuery has been eclipsed by Angular and React. And thank god for that, jQuery was always an ill-suited tool for the job. Even bad Angular applications are better than good jQuery applications, in my experience.
Re: Ask HN: Is jQuery on its way out?
#17Re: Ask HN: Is jQuery on its way out?
#18Not a perfect analogy, but PHP was on its way out for a while and probably would have gone all the way out -- if it had not been for one very high-profile company that essentially made it usable at scale. And the reason it did so was because even though PHP had little cachet, it was easy to hire PHP devs. Similarly, there are now a lot of things you can achieve with vanilla JS (or even vanilla CSS) that you used to o…
With Composer that changed and it appears now they are doing a much better job of standards and changes to the language.
With that said, it's not a concurrent system. It's blocking and that's a problem for modern Web languages.
I do think PHP growth is on the way down... but slowly.
Re: Ask HN: Is jQuery on its way out?
#19Not a perfect analogy, but PHP was on its way out for a while and probably would have gone all the way out -- if it had not been for one very high-profile company that essentially made it usable at scale. And the reason it did so was because even though PHP had little cachet, it was easy to hire PHP devs. Similarly, there are now a lot of things you can achieve with vanilla JS (or even vanilla CSS) that you used to o…
Really not true. There is no part of the hiring process at FB that focuses on trying to find PHP (or now — Hack) developers. The main impetus was that there was an existing, large, PHP code base.
Disclaimer: former FB engineer
Re: Ask HN: Is jQuery on its way out?
#20It is quick and easy to access and work with the DOM using jQuery. Both React and Angular are heavyweight libraries that require a lot of bondage and discipline to work as intended. React is from and linked to Facebook and Angular is from and linked to Google. Both of these social media ad companies are broadly considered to be corrupt and potentially best broken up by force of law. There is not particular corporate…
jQuery is not suitable for large application development. It can be useful here and there but not as a foundational layer for an application architecture.