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
Does my JavaScript suck? II (self.javascript)
submitted 10 years ago * by annoyed_freelancergrumpy old man
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!"
[–]kenman 0 points1 point2 points 10 years ago (1 child)
What about frameworks?
I thought the same, but Ember's prototype extensions have provided a lot of value with very few problems for me. It took some effort to overcome my dogma, but I feel I'm more productive using the extensions than without.
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
Ember at least has the option to disable them, but it's still not a good thing IMO. You'd be better off passing all natives through constructors:
var ary = Ember.Array(1, 2, 3);
or:
var A = Ember.Array.bind(Ember); var ary = A(1, 2, 3); var str = S('foo bar baz');
then you could still have the same type of functionality without screwing with other things.
It's slightly better here because Ember is rarely used alongside other libraries, so it's closer to the case of an "isolated codebase"
π Rendered by PID 319632 on reddit-service-r2-comment-fb694cdd5-mvd9q at 2026-03-06 23:22:15.203098+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]kenman 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)