If only there was a way to submit a feature request for the language, this would be a good suggestion. The word 'aor' isn't in use yet, that would make a good substitute.
–
JohnFxAug 22 '10 at 16:04

22

@JohnFx: In boolean logic, 'or' means 'and/or'. We really want to be saing 'XOR' most of the time! :)
–
NoldorinAug 22 '10 at 17:42

2

@Shinto: I disagree: John and Mark are over 6 feet tall. No 'or' meaning there. Often we do mean XOR by 'or': Either John or Mark is at Harvard this fall. (I'm not sure which one, but it's not both.)
–
moiociAug 24 '10 at 2:58

1

@moioci: that is completely beside the point. The point is that and/or can be replaced with "and" or "or".
–
deleteAug 24 '10 at 13:23

3

@Shinto Sherlock: and/or cannot be replaced by and. It can only be replaced by "or" and then you are counting on the reader to infer the inclusive sense. Sometimes it's better to be clear.
–
Mr. Shiny and New 安宇Aug 27 '10 at 14:09

and/or is an important expression because many times the word or implies "exclusive or". "Would you like coffee or tea?" "You may go left or right." If the writer needs to succinctly ensure that an inclusive meaning is read the phrase and/or conveys that. "You will be fined and/or jailed." In technical contexts (like laws or contracts) it is a perfectly good way of writing that meaning. In an essay or novel it is not really an appropriate style. As for your argumentative weirdos comment, I disagree that it's impossible for someone to misunderstand "I can upvote or mark as accepted".
–
Mr. Shiny and New 安宇Aug 27 '10 at 14:08

I laid those words as a careful trap for you, Mr. Shiny and New.
–
deleteAug 27 '10 at 15:01

3

@Shinto: The fact that people can be confused by inclusive and exclusive or makes your statement that "upvote or accept" is exactly as good as "upvote and/or accept" wrong. Language Log had a blog post about this a while back: languagelog.ldc.upenn.edu/nll/?p=46. Lots of readers wrote in to explain that "or" is always EXCLUSIVE but they were clearly wrong. However, as a writer, if you want to ensure that your readers get your point, you can use and/or. It's not desperate. It's not stupid. And I agree that humans don't say it out loud very often. But it's still valid.
–
Mr. Shiny and New 安宇Aug 27 '10 at 19:54

1

And if arguing about something in a Q&A discussion makes me an argumentative weirdo... so be it. :p
–
Mr. Shiny and New 安宇Aug 27 '10 at 19:55

I don't think and/or is stupid. The reason is that there are two types of "or"s.

Inclusive Or: Please give me a taco and/or a burrito
(I'm saying I will accept a taco, a burrito, or both.)

Exclusive Or: Please give me either a taco or a burrito.
(I will accept a taco or a burrito but not both.)

The problem is using plain-old "or" isn't very explicit about which is meant.

Or: Please give me a taco or a burrito.
(I will accept a taco or a burrito but maybe? not both...)

Many people need to be explicit that inclusive or is meant and not exclusive or. In my last sentence, which or is meant is ambiguous. Am I expecting to get exactly one thing? Or would both be acceptable?

But yes to answer your question we can try to phrase the inclusive or without use of and/or:

Please give me either a taco or a burrito or both
(Hmm kind of clunky... I'm going to stick with using and/or.)