this post was submitted on 28 Jan 2024
9 points (100.0% liked)

Programmer Humor

32060 readers
853 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 7 months ago

We're here asyncronously waiting for the rest of the meme.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

I'm actually laughing out loud at the amount of whitespace because ~~thread~~ routine is still executing lmao

[–] [email protected] 0 points 7 months ago (1 children)

Honestly, I don't get it.

Is it about the syntax sugar? Would you like to use callbacks instead?

Async programming is when you achive concurrency even with one thread. It's needed. There's no alternative to this.

[–] [email protected] 1 points 7 months ago

It's a meme, it's not actually saying not to use async:

https://knowyourmeme.com/memes/stop-doing-math

[–] [email protected] 0 points 7 months ago (1 children)

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

[–] [email protected] 0 points 7 months ago

Observables are your friends

[–] [email protected] 1 points 7 months ago

For those who don't get it, it's the "stop doing science" meme.

[–] [email protected] 1 points 7 months ago

less async more nsync

load more comments
view more: next ›