News for hackers. Stuff that matters.
Re:Beware of Async/Await by norswap on Thursday July 30, 2020 @12:28PM (#24000060)
Exactly, it's called AWAIT damn it.

It's also behaves like synchronous I/O, which is the whole point of the notation.

Which isn't to say all is rosy in async/await world. Debugging them (in JS in particular) is particularly painful.

Re:Beware of Async/Await by throwaway43234 on Thursday July 30, 2020 @12:34PM (#24000128)
What do you find painful about it? Have you tried the new vscode javascript debugger? It makes things fairly easy - I'd say the main issue is loss of local variables in async stack frames (which makes sense, unless they're closed they're gone), but that's not typically too big of a concern IMO.
Re:Beware of Async/Await by eska on Thursday July 30, 2020 @05:55PM (#24003283)
Debugging those got a lot better in the new Firefox dev tools.