Evaluation order

bearophile bearophileHUGS at lycos.com
Wed Feb 24 13:55:16 PST 2010


Walter Bright:
> Arbitrary, yes. Wrong? no - specifying it removes another source of 
> potential user bugs. Left-to-right is natural because that's the way we 
> read things.

If the language accepts only pure expressions inside function calls then it keeps being safe, despite using the most efficient order the compiler finds.

Bye,
bearophile



More information about the Digitalmars-d mailing list