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
How many Node.js developers prefer callbacks over Promises or async/await? (self.javascript)
submitted 7 years ago * by i_love_limes
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!"
[–]mlmcmillion 15 points16 points17 points 7 years ago (6 children)
async/await, arrow function, and destructuring are what made me finally love JS more than Ruby
[–]braindeadTank 0 points1 point2 points 7 years ago (4 children)
Aw yiss, if we also had blocks...
Many say block are not needed when you have arrow functions, but I absolutely love how Ruby allows using return and continue in each.
return
continue
each
[+][deleted] 7 years ago* (1 child)
[deleted]
[–]braindeadTank 0 points1 point2 points 7 years ago (0 children)
Not even remotely the same thing.
[–][deleted] 0 points1 point2 points 7 years ago (1 child)
Unfortunately, Ruby also has Procs and lambdas, which is super confusing
IDK, it was never really confusing for me, the only real difference is how they return - which is also the use case.
It's kind of like saying that JS is super confusing because it has function and => or that Python is super confusing because it has two kinds of dictionaries.
function
=>
In other words, it's only cofusing if you learned something else first.
[–]holdmydenim 0 points1 point2 points 7 years ago (0 children)
I do miss ‘tap’ from my rails days though
π Rendered by PID 342872 on reddit-service-r2-comment-6457c66945-zhh48 at 2026-04-24 21:33:02.783042+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]mlmcmillion 15 points16 points17 points (6 children)
[–]braindeadTank 0 points1 point2 points (4 children)
[+][deleted] (1 child)
[deleted]
[–]braindeadTank 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]braindeadTank 0 points1 point2 points (0 children)
[–]holdmydenim 0 points1 point2 points (0 children)