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

Programmer Humor

19165 readers
1441 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
you are viewing a single comment's thread
view the rest of the comments
[–] ThrowawayPermanente@sh.itjust.works 31 points 8 months ago (1 children)

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

[–] Th4tGuyII@kbin.social 27 points 8 months ago (3 children)

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 8 months ago* (last edited 8 months ago) (1 children)

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

[–] Klear@sh.itjust.works 4 points 8 months ago

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

[–] idunnololz@lemmy.world 2 points 8 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:

[–] firecat@kbin.social 2 points 8 months ago (1 children)

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 8 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.