this post was submitted on 24 Aug 2024
600 points (99.3% liked)

Programmer Humor

32581 readers
1061 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 3 months ago (3 children)

I hate asyncs, but I don't mind the way Python does it.

[–] grandma 9 points 3 months ago (1 children)

I hate python async with a burning passion but I'll admit most of it is a consequence of skill issues

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

What do u hate about it so much? I find it a very intuitive way to do async. Especially with asynchronous loops.

[–] [email protected] 9 points 3 months ago (2 children)

I like async but dislike await. I spend entirely too much time on everything I build trying to maximize how much I can do in parallel because I find it tremendously satisfying.

[–] [email protected] 2 points 3 months ago

You probably already know this, or are talking about another language, but JavaScript is inherently single threaded, so unless you're running blocking I/O in parallel, you won't actually see any performance boost. Service workers get their own thread though.

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

TaskGroup in Python is great

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

Kotlin-style async is pretty neat, ngl.