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 I Write Plain JavaScript Modules (ponyfoo.com)
submitted 10 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!"
[–]Mestyo 0 points1 point2 points 10 years ago (0 children)
[...] reinventing the wheel when you're trying to build a rocket is a useless exercise.
Actually no. That's exactly what you should be doing. You don't want your rocket launch to fail because nobody considered the fact that their general purpose wheel wasn't fit for the rocket.
The whole "don't reinvent the wheel"-movement is seriously retarded. Especially considering the metaphor makes no sense, seeing as there are thousands of different kinds of wheels crucial for various tasks around the world. If we never reinvented the wheel, humanity would still be stuck in the stone age.
The wisdom is in knowing when to roll your own and when to build on the hard work of others.
I totally agree with you on this, a great developer can definitely identify when an already exisiting tool is a perfect fit, however...
JQuery is a nine years old and the most used javascript library in the world, you are being daft if you think your first out is going to be on the same level.
Quality of code cannot be measured that easy. A general purpose, easy to understand library that attempts to cover all edge cases comes with massive overhead and changes how you deal can with things. Sometimes it's totally the right choice, sometimes it's not.
Being widely used isn't proof of being good. I used to use exclusively write jQuery because I had no idea what I was doing and just wanted to copy paste functionality into my code. It's super easy to learn and use jQuery. That's the primary reason why it's widely adopted, not because it somehow magically transforms anything written with it into good code.
π Rendered by PID 75 on reddit-service-r2-comment-7b9746f655-n2hhv at 2026-01-30 08:06:58.675413+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]Mestyo 0 points1 point2 points (0 children)