Multiple return values...

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Mar 13 14:12:39 PDT 2012


On 3/13/12 2:57 PM, Manu wrote:
> And you think that's more readable and intuitive than: (v1, v2, v3) =
> fun(); ?

Yes (e.g. when I see the commas my mind starts running in all directions 
because that's valid code nowadays that ignores v1 and v2 and keeps v3 
as an lvalue).

Let me put it another way: I don't see one syntax over another a deal 
maker or deal breaker. At all.


Andrei


More information about the Digitalmars-d mailing list