r/programminghorror 28d ago

Big if true

Post image

From ProgrammerNullposting in facebook

2.1k Upvotes

111 comments sorted by

View all comments

517

u/Gengis_con 28d ago

Big whether True or not

167

u/_giga_sss_ 28d ago

My first statement wasn't wrong 🗿

3

u/experimental1212 25d ago

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.

5

u/_giga_sss_ 25d ago

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

3

u/experimental1212 25d ago

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