DIP1001: DoExpression

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 6 07:17:57 PDT 2016


On 06.09.2016 16:12, Steven Schveighoffer wrote:
>
> I'm not sure I agree with the general principal of the DIP though. I've
> never liked comma expressions, and this seems like a waste of syntax.
> Won't tuples suffice here when they take over the syntax? e.g. (x, y,
> z)[$-1]

(Does not work if x, y or z is of type 'void'.)


More information about the Digitalmars-d mailing list