Skip to content

Comment on What real life bad habits has programming given you?parent

Comments

Related: when people ask me if I'd like "A or B" I wonder if people mean "A || B", to which I'd reply with true/false, or "max(A, B)", to which I'd reply with A (if I have higher preference for A) or B (if I have higher preference for B).

Here are two unambiguous examples:

"Are you a US citizen or permanent resident? Yes [ ] No [ ]"

versus:

"Would you like coffee or tea?"

In some settings, when they ask "A or B", it's hard to know which of the following set are valid answers: {{}, {A}, {B}, {A,B}}

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.