Re:What real life bad habits has programming given you?
by lunchbox on Wednesday January 28, 2009 @07:14PM
(#455491)
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}}
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}}