Missing python-like chaining in D

Walter Bright newshound2 at digitalmars.com
Wed Feb 23 04:31:29 UTC 2022


On 2/22/2022 5:03 PM, Timon Gehr wrote:
> vs:   low <= a[2*i+1] && a[2*i+1] <= high

If the expressions do not have side effects, any half decent compiler will not 
recompute them.


More information about the Digitalmars-d mailing list