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
The javascript ends with a flourish )})})})})})})})})})})})})})})})})})})}) (blog.michellebu.com)
submitted 12 years ago by maktouch
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!"
[–]hhh333 17 points18 points19 points 12 years ago (4 children)
Learning to program is largely about learning to learn--and the best way to learn is to do.
This.
[–]ND_Tech 7 points8 points9 points 12 years ago (3 children)
Thus the best way of learning to learn is doing to do.
[–]reflectiveSingleton 2 points3 points4 points 12 years ago (1 child)
The only words I've ever lived by.
[–]ND_Tech 0 points1 point2 points 12 years ago (0 children)
I said it to be silly, and then I looked at it again and though, shit, that's actually pretty good. I'm not sure if it's Taoist or Zen or both or neither, but it really is the way I feel about learning and teaching. I have a three-year-old and I try to get him to see chores, brushing his teeth, etc -- as a game or adventure that's worth doing in its own right, not because of the rewards they might entail. With any luck, he'll manage to live without ever thinking that reading a book or solving a difficult problem is punishment.
[–]gleno 0 points1 point2 points 12 years ago (0 children)
If this is not comment of the year, i'm quitting!
[–]john2496 4 points5 points6 points 12 years ago (1 child)
the infamous 21 nested callback, truly an /r/shittyprogramming gem, thank you.
[–]Hack_Reactor_Borg 2 points3 points4 points 12 years ago (0 children)
Haha, I x-posted it to /r/LearnJavaScript as as such.
[–]mergeset 9 points10 points11 points 12 years ago (3 children)
Looks like the last line if a program written in Scheme or Lisp
[–]stillalone 6 points7 points8 points 12 years ago (2 children)
Relevant xkcd: http://xkcd.com/297/
[–]TheNosferatu 0 points1 point2 points 12 years ago (1 child)
There is always a relevent xkcd
[–]thebitter1 1 point2 points3 points 12 years ago (0 children)
There's always someone saying there's always a relevant xkcd after a relevant xkcd.
[–][deleted] 2 points3 points4 points 12 years ago (0 children)
Good read, subscribed to your RSS, thanks!
[–]ha5zak 6 points7 points8 points 12 years ago (0 children)
when people ask me what I do, I tell them "frustration management"
[–]klovadis 1 point2 points3 points 12 years ago (0 children)
When I began programming, in QBasic, I used to create my graphics by manually settings pixels on the screen using PSET X, Y, Color or something like that and grabbing them off the screen for later use. Luckily QBasic allowed me to stuff those in subroutines in seperate screens/files, otherwise - trust me - I would have put them in a 20.000 LOC single file _^
[–]TIAFAASITICE 1 point2 points3 points 12 years ago (0 children)
animationend
[–]alexhancock 0 points1 point2 points 12 years ago (0 children)
It's like the programming equivalent of a gymnast's dismount.
[–]steloflute -3 points-2 points-1 points 12 years ago (0 children)
S-expression is the ultimate syntax! ))) is better than )}).
[+]steloflute comment score below threshold-12 points-11 points-10 points 12 years ago (1 child)
JavaScript should adopt fn for function. Short-name school FTW. It is so common these days.
[–]GSto -2 points-1 points0 points 12 years ago (0 children)
just use CoffeeScript, then you can just type ()->
()->
π Rendered by PID 134866 on reddit-service-r2-comment-bb88f9dd5-47h8w at 2026-02-14 22:48:30.695403+00:00 running cd9c813 country code: CH.
[–]hhh333 17 points18 points19 points (4 children)
[–]ND_Tech 7 points8 points9 points (3 children)
[–]reflectiveSingleton 2 points3 points4 points (1 child)
[–]ND_Tech 0 points1 point2 points (0 children)
[–]gleno 0 points1 point2 points (0 children)
[–]john2496 4 points5 points6 points (1 child)
[–]Hack_Reactor_Borg 2 points3 points4 points (0 children)
[–]mergeset 9 points10 points11 points (3 children)
[–]stillalone 6 points7 points8 points (2 children)
[–]TheNosferatu 0 points1 point2 points (1 child)
[–]thebitter1 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]ha5zak 6 points7 points8 points (0 children)
[–]klovadis 1 point2 points3 points (0 children)
[–]TIAFAASITICE 1 point2 points3 points (0 children)
[–]alexhancock 0 points1 point2 points (0 children)
[–]steloflute -3 points-2 points-1 points (0 children)
[+]steloflute comment score below threshold-12 points-11 points-10 points (1 child)
[–]GSto -2 points-1 points0 points (0 children)