At 2:01 PM -0600 1/4/02, Des Courtney wrote:
In all good programming languages, any expressions after a false "and"
operator, aren't tested. And also, any expressions after a true "or"
operator, aren't tested.
In my personal experience, I've found that, unless the language
officially has syntax for "short-circuit" boolean expressions,
counting on this behavior makes the code unreliable and harder
to maintain.
We officially have short-circuit evaluation of Boolean expressions.
Cheers,
- Joe
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.realsoftware.com |
`------------------------------------------------------------------'
|