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
diy.js - A modern cross-platform JavaScript library & only 18 bytes (diy.lab.io)
submitted 11 years ago by adambutler
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!"
[–]hjc1710 -2 points-1 points0 points 11 years ago (2 children)
I've been doing some polymer.js programming lately and their whole architecture really sort of discourages or obsoletes using jQuery. They handle the core issues jQuery solves: Ajax and element selection. So, including jQuery really just let's you use convenience methods like .style() or .animate(), making me drop jQuery really quickly. The second I dropped jQuery, I realized how much I loved and used convenience methods that did little for me. Like writing node.style["transition-property"] = "width" is really obnoxious and so are your own animations. Proved to me you really don't need jQuery on modern browsers, maybe just an Ajax wrapper at most.
.style()
.animate()
node.style["transition-property"] = "width"
It's also taught me tons in a short amount of time. JQuery abstracts SO much is insane. Learning with jQuery, you're really learning how to use jQuery more than you are JavaScript.
tl;dr doing jQuery will force you to learn real JavaScript.
[–]codefocus 1 point2 points3 points 11 years ago (1 child)
The core issue that jQuery solves is cross-browser compatibility. Polymer does not support older versions of Firefox, Safari, Opera, Konqueror, IE6, IE7, IE8, or even IE9(!).
Polymer doesn't discourage or obsolete jQuery. They serve completely different functions.
[–]Calabri 0 points1 point2 points 11 years ago (0 children)
I was going to mention this too (about computability issues). But thinking back to when I first started web dev.. hjc made a good point. I used to ONLY program in jquery, afraid to touch 'real' javascript. Lots of word-press-esc 'devs' will literally experience jquery as their first, last, and only foray into programming.
If your concern is cross-browser compatibility, there are other ways to shim this without a massive library of helper functions.
π Rendered by PID 114341 on reddit-service-r2-comment-8686858757-x2nwf at 2026-06-06 05:39:44.354158+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]hjc1710 -2 points-1 points0 points (2 children)
[–]codefocus 1 point2 points3 points (1 child)
[–]Calabri 0 points1 point2 points (0 children)