News for hackers. Stuff that matters.
Re:I Avoid Async/Await by eurasiantiger on Saturday April 16, 2022 @11:12AM (#31052937)
I have seen plenty of (usually junior front-end) devs resort to exactly this kind of cargo cult coding and magical thinking.
Re:I Avoid Async/Await by wiml on Saturday April 16, 2022 @11:38AM (#31053152)
Well, they're junior devs. You're supposed to help them get past that stage, not just throw away all your tools.
Re:I Avoid Async/Await by eurasiantiger on Saturday April 16, 2022 @05:30PM (#31056257)
What made you think I haven’t been helping them?
Re:I Avoid Async/Await by joe_guy on Saturday April 16, 2022 @11:40AM (#31053179)
I'm going out on a limb here and assuming the issues with their code don't begin and end with async.
Re:I Avoid Async/Await by cercatrova on Saturday April 16, 2022 @11:54AM (#31053301)
> I've never seen someone who understands promises or async await do that. You'd have to know nothing about what the async keyword actually does to be compelled to do that.

> usually junior front-end

So you agree with each other then?

Re:I Avoid Async/Await by eurasiantiger on Saturday April 16, 2022 @03:12PM (#31055170)
Good day, axe handle.