Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think there is valid confusion to be had in interpreting this statement.

Usually, when a statement of "choose either x or y" is made, then the only valid options are exclusively x or exclusively y (None and Both are not valid).

Though, when the statement of "if either x or y then do action" is made, then the action is done with any of three valid options: x, y, or x and y (only None is not valid).

To change the second statement to mean the first, you could say "if only x or only y then do action." The "only" cancel Both as being an option.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: