Expression evaluation order
w0rp
devw0rp at gmail.com
Fri Jun 14 10:32:07 PDT 2013
On Thursday, 13 June 2013 at 23:25:42 UTC, Jonathan M Davis wrote:
> Walter has expressed a desire in the past to make it so that D
> requires that
> the evaluation order of arguments be left-to-right in order to
> avoid bugs, and
> while these aren't exactly function arguments, they're
> basically function
> arguments to a built-in function called +, so I could
> definitely see Walter
> wanting to require that the evaluation order be left-to-right.
> However, while
> Walter has expressed an interest in making it a requirement,
> AFAIK, it has
> never officially become one and the spec says nothing on the
> matter.
>
> - Jonathan M Davis
I would like to cast my vote for this feature. It is very nice to
have, and it would prevent a few bugs from popping up.
More information about the Digitalmars-d
mailing list