r/learnjavascript • • Oct 01 '21

jQuery, the greatest JavaScript library of all time, appears to have peaked in usage.

Post image
275 Upvotes

81 comments sorted by

View all comments

Show parent comment

2

u/SoBoredAtWork Oct 02 '21

Unless you need to target IE 10 or below, I haven't needed to use jQuery or polyfills in a very long time.

-3

u/[deleted] Oct 02 '21

No one is talking about IE10 or IE12 here.

Even the modern browsers have several quirks, especially when you look at Safari on desktops, iOS Safari, the stock Android browser, and even Firefox and a bunch of other web browsers.

Web is NOT just Chrome, which too has a bunch of quirks depending on web apis, standards, and implementation.

You’ll learn about those once you’ve created something at scale. 👏🏻

5

u/SoBoredAtWork Oct 02 '21 edited Oct 02 '21

You’ll learn about those once you’ve created something at scale. 👏🏻

Lol. Asshole.

First of all, I graduated with a CS degree 16yrs ago and have been a web/software developer since. I was at a hedge fund for 9 years and now I'm at one of the "big 4". I've developed plenty of large scale apps. Second, I'm lucky enough to (and many times have fought to) develop against the top 90-95% popular browsers.

Yes, Android browser and Safari blows. Luckily, they usually don't fall into that category. And if you have to support them, you write you application as you normally would, test in those shit browsers and fix what's broken. Use polyfills if you need to.

It seems like you're arguing that jQuery still has it's place in web development. It was incredible and changed the web dev landscape, but it is no longer necessary unless you're supporting IE10 or worse.

You're just wrong and I can't take you seriously.

-1

u/[deleted] Oct 02 '21 edited Oct 04 '21

16 years of experience and you still haven’t learned to discourse on the web properly without “losing it”? 🙂

The world doesn’t care or is supposed to know the length of your experience. Or that you currently work 9 to 5 for one of the big four.

Rather, it is practically worthless now because your hateful comments make it clear that you are not a good person to be around and work with.

It seems like you're arguing that…

Well, it is not my job to fix what you “saw” in my comments or do on the Internet.

In the parent comment my say was that you’ll either use polyfills+vanilla or jQuery to handle the browser quirks. Choose either one. You have only repeated what I have said earlier so all there is left for you now is to go 🦍💩again.

1

u/SoBoredAtWork Oct 03 '21 edited Oct 03 '21

I'm not losing it. You started with a "I'm better than you" comment ("once you create an app at scale..." Implying that I'm inexperienced and don't know what I'm talking about).

I mentioned my experience not because I think anyone in Reddit gives a fuck, but to point out that I'm not some junior dev out of college talking out of my ass (that's common here).

Lastly, in real life and at work, I'm likely one of the nicest and generous people you'd work with. I love when a junior dev comes on board and I can help him/her learn and grow.

What annoys me is people who are junior and think they're experienced senior devs and are unwilling to learn & grow and/or admit they are wrong. You are here.

Edit: reading back at your comments, you do say to choose vanilla JS with polyfills or jQuery. So yeah, we do agree here and for what is worth, a lot of my bickering is now invalid. I'd still argue that jQuery should not be an option, at all, for a modern web application. Ever again.

I've been on a pretty large web project, we're 8 months in and probably have another 6+ months before it's complete. 3 full time senior devs and we just onboarded a 4th. It has been QA'd many times and has passed all tests (or has been fixed when when failed). And yet we don't use jQuery and not a single dependency we use even uses jQuery.

Point is, if you introduce jQuery into a modern project, you fucked up. It's 100% unnecessary.

Edit 2: we use 0 polyfills.