Evaluation order of index expressions

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue May 26 05:54:26 PDT 2015


On 05/26/2015 06:35 AM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
>
> One of C's design mistakes is to make assignments expressions and not
> statements.

I think it is more about returning void vs. returning the lvalue. The 
expression/statement distinction is unnecessary.


More information about the Digitalmars-d mailing list