Eval order, bug or design decision?

Walter Bright newshound1 at digitalmars.com
Sat Mar 8 23:51:18 PST 2008


Frank Benoit wrote:
> Walter Bright schrieb:
>> Currently order of evaluation dependencies are illegal in D. Did you 
>> run across it in some Java code?
> 
> Yes, see 2. + 3. change
> http://www.dsource.org/projects/dwt-linux/changeset/204%3A8ab2f71515ba
> 
> My eyes will be more sensible for this patterns now :)

My old C eyes are pretty sensitive to that, too. But it's also clear 
that D should move to a defined left-to-right order-of-evaluation semantic.



More information about the Digitalmars-d mailing list