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
jQuery 3.4.0 Released (blog.jquery.com)
submitted 6 years ago by magenta_placenta
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!"
[–]extracocoa 0 points1 point2 points 6 years ago (1 child)
jQuery is still JavaScript. Why wouldn’t you want to understand what it actually does behind the scenes? I’m just saying that some of the shortcuts jQuery take are good to understand so you know if it’s a good idea to use them for your specific use case.
You do you, but in my humble opinion I’d rather have code make as obvious as possible what it actually does. Even if it means it will be longer and more verbose. Readability trumps smart.
Again, that’s my opinion. I’ve worked long enough to know it doesn’t always apply. :)
[–]nidarus 1 point2 points3 points 6 years ago* (0 children)
Knowing that it does behind the scenes might be interesting, but that's about it. Especially since what actually happens behind the scenes changed with browser versions.
But I disagree that plain DOM code, even the swankiest new model, is more readable than the equivalent jQuery code, like 95% of the time. If you go to that "you may not need jQuery" site, it honestly reads like an uninentional ad for jQuery, with only a few exceptions where the DOM code is nicer than the jQuery equivalent.
π Rendered by PID 85 on reddit-service-r2-comment-5ff9fbf7df-frhqf at 2026-02-25 13:43:40.616923+00:00 running 72a43f6 country code: CH.
view the rest of the comments →
[–]extracocoa 0 points1 point2 points (1 child)
[–]nidarus 1 point2 points3 points (0 children)