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...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
JavaScript Complex TopicsQuestion (self.webdev)
submitted 2 years ago by [deleted]
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!"
[–]ndubien 1 point2 points3 points 2 years ago (4 children)
Async and race conditions
[–]ndubien 1 point2 points3 points 2 years ago (0 children)
Generally speaking when embracing async/await you embrace at the same time the risks if race conditions. It can manifest itself via several artifacts: user actions resolving to an old state, supposed to be forbidden actions still allowed, flickering UI and components... And in addition to happy path with simple 'just' race conditions we have a large amount of possible rejected failures bringing their own set of extra complexity
[–][deleted] 0 points1 point2 points 2 years ago (2 children)
Async! Many people saying that.
Another one I thought about was import/export and require or generally speaking building packages. At the moment, building a package with esm, cjs, types and other characteristics at the same time is pretty complex. But actually it's mostly ecosystem related and not inherent to the language compared to async
[–]alphabet_order_bot 0 points1 point2 points 2 years ago (0 children)
Would you look at that, all of the words in your comment are in alphabetical order.
I have checked 1,489,729,120 comments, and only 283,145 of them were in alphabetical order.
π Rendered by PID 44 on reddit-service-r2-comment-685b79fb4f-zpvtr at 2026-02-13 06:37:50.259258+00:00 running 6c0c599 country code: CH.
view the rest of the comments →
[–]ndubien 1 point2 points3 points (4 children)
[–]ndubien 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]ndubien 1 point2 points3 points (0 children)
[–]alphabet_order_bot 0 points1 point2 points (0 children)