Hacker News new | past | comments | ask | show | jobs | submit login

Wouldn't that be (no food) and (drink) anyway?



Dunno, maybe spoken language does not have such strict operator priority. Or maybe it has one different than maths and programming languages.


What the sign clearly means is "no [members of the set] food and drink."


But what the sign says is either "no(food && drink)" or "no(food) && drink", depending on how you feel about precedence. The obvious implication in the first case is that either food or drink, or neither, but not both, is permissible; in the second, it's that drink is acceptable only when not also accompanied by food, but no other constraint is expressed with regard to either. If the intent was to express that neither food nor drink is permissible in any combination, the correct form, both logically and grammatically, would be "No food or drink".


That first statement is false because English “and” is not the same thing as logical “and”.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: