347
4 billion if statements (andreasjhkarlsson.github.io)
you are viewing a single comment's thread
view the rest of the comments
[-] ThrowawayPermanente@sh.itjust.works 33 points 11 months ago

Let's be real though, everything is IF statements all the way down

[-] Th4tGuyII@kbin.social 27 points 11 months ago

There's not a single thing in this universe that cannot be accomplished with enough IF statements... as long as you've got infinite time to wait

[-] waz@lemmy.world 15 points 11 months ago* (last edited 11 months ago)

...you mean IF you've got infinite time to wait?

[-] Klear@sh.itjust.works 4 points 11 months ago

...you mean if you've got IFinite time to wait?

[-] firecat@kbin.social 2 points 11 months ago

The problem with if is the answer comes from user. There’s no mathematical reason or scientific explanation, only programmer who thinks the answer should include the subject.

[-] Th4tGuyII@kbin.social 2 points 11 months ago

True...

But even on a more metaphorical level, every single thing that has or will happen in this universe, down to even the smallest quantum fluctuations could be encapsulated into IF statements as long as you had enough of them.

[-] idunnololz@lemmy.world 2 points 11 months ago

What if there was an unintentional infinite loop in your code. You could be waiting for infinite time only to learn the code had a bug. D:

this post was submitted on 28 Dec 2023
347 points (97.5% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS