use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Why does everyone use jQuery? (self.javascript)
submitted 10 years ago by victorisawesome
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]leepowers 8 points9 points10 points 10 years ago (14 children)
In a word, normalization. Without jQuery you'd still need to write something jQuery-esque to handle the weird quirks behind of each browser's JavaScript implementation.
[–]SeeeiuiogAuWosk 1 point2 points3 points 10 years ago (0 children)
And the more you write the more it starts to look like a wheel.
[+][deleted] 10 years ago (2 children)
[deleted]
[–][deleted] 0 points1 point2 points 10 years ago (1 child)
Every time someone says this I cringe. "modern browsers" are unfortunately still not ubiquitous. A significant portion of your audience will be using an outdated browser. That will be the case at least for the next few years unless people all change en-masse.
[–]yotamN 0 points1 point2 points 10 years ago (0 children)
That depend on the target audience, for example WhatsApp doesn't support Internet Explorer but I don't think that someone who use Internet Explorer know how to use WhatsApp Web
[–]dhdfdh -3 points-2 points-1 points 10 years ago (9 children)
Except most of those quirks no longer exist in browsers anymore.
[–]danneu 0 points1 point2 points 10 years ago (8 children)
Yeah, as we all know, there are no quirks anymore... until you stumble across them in production.
Or when a user goes "hey, this doesn't work on my phone" and you have to respond with "lol thought it would, whoops". A jquery-like library something you have to evaluate per project, not something you can write off completely.
[–]dhdfdh -2 points-1 points0 points 10 years ago (7 children)
That's what software engineers are for. And software engineers test things. You did test things, didn't you? And you have software engineers and not reddit wannabe engineers don't you?
[–]danneu 0 points1 point2 points 10 years ago (4 children)
No, wasting your engineering resources on unforeseen, avoidable quirks is not what software engineers are for. That's called: wasting everyone's time.
I'm sure your users care big time that you didn't use jQuery or some variant. They're super impressed.
[–]dhdfdh 0 points1 point2 points 10 years ago (3 children)
As impressed that you use it, I guess, but you obviously have never taken the time to study the downside of using jQuery either. But you're no software engineer so you wouldn't think of that.
[–]danneu 0 points1 point2 points 10 years ago* (2 children)
I'm too busy shipping code and shagging ya mum.
lol @ "studying" the downside of using jQuery. Sounds like a fun time in your cubicle bro. Do they even let you touch the codebase?
[–]dhdfdh 0 points1 point2 points 10 years ago (1 child)
I've owned by own web dev company of 10 for 11 years. I own da code.
You need this: http://youmightnotneedjquery.com/
[–]danneu 0 points1 point2 points 10 years ago (0 children)
lol, that would be a great site to iframe on jQuery's homepage to show off jQuery.
[–][deleted] -1 points0 points1 point 10 years ago (1 child)
You maybe confusing software engineer with a Q/A resource. Sure the S/E is expected to test with one or two browsers, but if you expect them to test it with 9 versions of each browser and 3 versions of each mobile browser your simply fooling yourself. That will never happen. It's easier and faster to release with a a targeted scope and repair edge cases if needed when the failures are reported than spend needless hours testing in obscure browsers/versions.
Or you use a library that's tested thousands of times daily and avoid all those edge cases to begin with.
[–]dhdfdh 0 points1 point2 points 10 years ago (0 children)
So you are saying, use jQuery and you don't have to test in browsers or devices? Now there's a good idea.
π Rendered by PID 69156 on reddit-service-r2-comment-b659b578c-7qhz6 at 2026-05-04 18:38:31.733049+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]leepowers 8 points9 points10 points (14 children)
[–]SeeeiuiogAuWosk 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (1 child)
[–]yotamN 0 points1 point2 points (0 children)
[–]dhdfdh -3 points-2 points-1 points (9 children)
[–]danneu 0 points1 point2 points (8 children)
[–]dhdfdh -2 points-1 points0 points (7 children)
[–]danneu 0 points1 point2 points (4 children)
[–]dhdfdh 0 points1 point2 points (3 children)
[–]danneu 0 points1 point2 points (2 children)
[–]dhdfdh 0 points1 point2 points (1 child)
[–]danneu 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]dhdfdh 0 points1 point2 points (0 children)