678
STOP DOING ASYNC (lemmy.world)
submitted 9 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 9 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 9 months ago

Observables are your friends

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

Programmer Humor

32481 readers
247 users here now

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

Rules:

founded 5 years ago
MODERATORS