Pretty please: Named arguments

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Feb 28 17:36:59 PST 2011


On 2/28/11 12:38 PM, Bekenn wrote:
> On 2/28/11 5:48 AM, Andrei Alexandrescu wrote:
>> One more thing, order of evaluation should still be left-to-right, not
>> in order of arguments. This means the feature cannot be a syntactic
>> rewrite (not a big issue, but definitely something to keep in mind).
>>
>>
>> Andrei
>
> I was thinking that order of evaluation should remain lexically
> left-to-right at the point of call (that is, in the order the arguments
> are specified, with any remaining default parameters coming after); is
> there a reason that would be bad or wouldn't work?

I meant the same as you.

Andrei


More information about the Digitalmars-d mailing list