this post was submitted on 04 Nov 2025
88 points (98.9% liked)

Programmer Humor

38989 readers
382 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
top 7 comments
sorted by: hot top controversial new old
[–] limer@lemmy.ml 7 points 1 day ago

If it is stupid and it works it’s not stupid.

I’m going to use it

[–] owenfromcanada@lemmy.ca 16 points 1 day ago

How does a programming joke cause me physical pain?

[–] LadyMeow@lemmy.blahaj.zone 7 points 1 day ago (1 children)

I mean, it’s basically O(1), right? :p

[–] Ephera@lemmy.ml 11 points 1 day ago (1 children)

I mean, it does scale with the size of the input. Just not with the count of inputs, but rather the size of each input element.

[–] jimmux@programming.dev 5 points 1 day ago (1 children)

Or just the size of the largest input?

[–] Ephera@lemmy.ml 2 points 1 day ago

Oh yeah, I do think setTimeout executes in parallel, so only the largest element determines the execution time. It was difficult enough to make that sentence make sense, so I didn't want to cram that detail in as well. 🙃

[–] Cat_Daddy@hexbear.net 5 points 1 day ago