assignment: left-to-right or right-to-left evaluation?

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Mon May 11 23:12:30 PDT 2009


Jarrett Billingsley wrote:

> It's
> incredibly rare that I have to assign the same value to multiple
> targets, and when I do, the little time I could save by not typing the
> second assignment is offset by the increased time it takes me to look
> for assignments to a variable when I come back to the code later.

It's not about time. It's about code duplication.

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list