in reply to || vs or
Should I start using 'or' consistently?
Consistency is always a good thing. But if you mean "exclusively", the answer should be no. 'or' and || have subtly different meanings (as others have pointed out; it's a precedence thing), and thus, have different uses. Try to be consistent on when and how you use them, but don't subject your code to contortions just to enforce exclusivity.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: || vs or
by TimToady (Parson) on May 16, 2007 at 21:14 UTC |