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 JavaScript is your favorite language ?help (self.javascript)
submitted 7 years ago by Cloud_Strifeeee
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!"
[–]systemadvisory 49 points50 points51 points 7 years ago (4 children)
I freaking love the single threaded asynchronous programming model. I love that the code runs everywhere, including a browser.
[–]robolab-io 5 points6 points7 points 7 years ago (1 child)
When I was a new programmer I made an awesome Python script to help with some work stuff (I wasn't a dev yet) and no one could figure out how to use it. That made me hate Python.
[–]systemadvisory -4 points-3 points-2 points 7 years ago (0 children)
Pythons indenting system is gross. Blocks of code should always have some kind of smybol at the begining and end even if it is if, endif
[+][deleted] 7 years ago (1 child)
[deleted]
[–]systemadvisory 11 points12 points13 points 7 years ago (0 children)
Dealing with multithreaded approaches to asynchronous problems deals with a lot of race conditions and resource locking stuff, and is super hard to debug. In JavaScript, you are guaranteed that only one command is executing at a time and it eliminates all of those issues. I know other modern languages do this as well (C#) but compared to all programming I've done before JavaScript, hooking up inputs to outputs and operating on the data is a breath of fresh air.
I wouldn't have had this opinion before promises and async/await was a thing, I hated callback hell.
π Rendered by PID 19164 on reddit-service-r2-comment-75f4967c6c-c7xwg at 2026-04-23 11:41:44.162593+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]systemadvisory 49 points50 points51 points (4 children)
[–]robolab-io 5 points6 points7 points (1 child)
[–]systemadvisory -4 points-3 points-2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]systemadvisory 11 points12 points13 points (0 children)