675
STOP DOING ASYNC (lemmy.world)
submitted 7 months ago by Maven@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] 30p87@feddit.de 5 points 7 months ago

async/await could be useful if one creates an entire program designed on and for it, but it stops being acceptable as soon as I need two .thens inside of each other because I tried to use fetch in a non-async app without race conditions

[-] shasta@lemm.ee 5 points 7 months ago

Observables are your friends

this post was submitted on 28 Jan 2024
675 points (94.8% liked)

Programmer Humor

32042 readers
1324 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS