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

Is there actually a notation and + operator for which 1 + 1 = 2 is ambiguous? Only being semi-rhetorical, I'd be interested to know if there is one. (Modular arithmetic is not considered ambiguous, at least not in the math neck of the woods.)


Not really answering your question, but more to the point of the discussion in my opinion, a() + b() could be ambiguous if a() and b() are functions with side effects and the evaluation order of the +-operator is not specified.


1 + 1 = 10b is what he's saying.


Yes, that's what I meant - even "1 + 1 = 2" can be ambiguous if no context is provided.




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

Search: