News for hackers. Stuff that matters.
Re:If-then-else had to be invented by mantap on Sunday December 13, 2020 @05:45PM (#25411176)
Do you want to eat pizza and garlic bread? - inclusive

Do you want to eat pizza or garlic bread? - exclusive

In natural language "and" works like a inclusive or. If there is pizza and garlic bread I can choose to eat one or both. Or is always exclusive in this sentence.

Re:If-then-else had to be invented by tsimionescu on Monday December 14, 2020 @06:21AM (#25415779)
With minor modifications, it can become inclusive or:

Do you want to eat some pizza or some garlic bread? - probably inclusive or

Also, I would interpret the first question as "addition" (pizza with garlic bread, on the model of mac and cheese), not as an inclusive or.