Replacing the comma operator

Stewart Gordon smjg_1998 at yahoo.com
Tue Jul 28 16:46:46 PDT 2009


Jarrett Billingsley wrote:
<snip>
> For two, what problem did Andrei point out?  Order of evaluation of
> function arguments?  On the contrary, he said "now that order of
> evaluation will be defined to be left-to-right in D, the semantics
> would be quite the same".  Your code is what you'd have to use in D1,
> but in D2, the simpler version would suffice.

What do you understand by the combination of "now" and "will be"?

I understood that he was speaking either sarcastically or hypothetically.

Or can you find any official statement of this change, let alone a 
rationale for it?

Stewart.



More information about the Digitalmars-d mailing list