incubator-imperius-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neeraj Joshi <jnee...@us.ibm.com>
Subject Re: short-circuited evaluation of conditions
Date Wed, 27 May 2009 19:04:34 GMT
Hey David,
There was no special reason to not have short circuit evaluation of the 
condition. I don't see any reason why we cannot change it to short 
circuit.

Thanks
Neeraj
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"The light at the end of the tunnel...may be you"

 
Neeraj Joshi
WebSphere XD - Compute Grid
AIM, IBM
Apache Imperius - http://incubator.apache.org/imperius
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From:
David Wood/Watson/IBM@IBMUS
To:
imperius-user@incubator.apache.org
Date:
05/27/2009 02:56 PM
Subject:
short-circuited evaluation of conditions



The spec is quite clear that for Decsion blocks && and ||, but is not 
clear about their handling in the Condition statement.  In particular, the 

implementation evaluates both A && B, even when A returns false.  Is there 

any reason to keep it this way or can we change it for the condition?

David Wood 
Policy Technologies Group
IBM TJ Watson Research Center
dawood@us.ibm.com
914-784-5123 (office), 914-396-6515 (mobile)



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message