Y
Hacker News
new
|
ask
|
show
|
jobs
by
kubb
22 days ago
Every time this is posted, it’s worth reminding: async functions in JavaScript are the correct design, and the people who did it deserve praise.
3 comments
tikotus
21 days ago
C# (and F# before it) got it (mostly) right. JS did a shallow copy of it, messing up some details, making it harder to use for certain things.
link
moomin
22 days ago
Making await flatten promises was kind of questionable. But that’s my main beef.
link
lmm
21 days ago
Async functions are an ad hoc, informally-specified, bug-ridden, slow implementation of half of monad support.
link