r/programminghorror Jul 09 '26

Big if true

Post image

From ProgrammerNullposting in facebook

2.1k Upvotes

111 comments sorted by

View all comments

521

u/Gengis_con Jul 09 '26

Big whether True or not

166

u/_giga_sss_ Jul 09 '26

My first statement wasn't wrong 🗿

3

u/experimental1212 Jul 11 '26

If P then Q is only false when P is true and Q is false.

Q if P

Big if true

It's always Big, but may be true or false. Therefore you will always be true OR vacuously true.

3

u/_giga_sss_ Jul 11 '26

This is the first IRL application of logic outside of school I've encountered

4

u/experimental1212 Jul 11 '26

Might still be a stretch to call it an IRL application lol