HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by amelius | Hacker News Reader
Full thread
amelius
·
TL;DR: async programming does not work well from the commandline.
View on HN
SummerlyMars
·
As of Node 14.8, you can use await at the top level. In previous versions (not sure for how long), it was hidden behind a flag.
https://nodejs.org/en/blog/release/v14.8.0/
yoz-y
·
Yeah, that's also my takeaway. I've also ran into this when debugging stuff inside the Dev Tools console, but it's not really an issue when writing code.
jtdev
·
And node.js approach to concurrency is a mountain of accumulated error.
Reply on news.ycombinator.com