Flag proposal

Nick Sabalausky a at a.a
Mon Jun 13 14:05:04 PDT 2011


"bearophile" < bearophileHUGS at lycos.com> wrote in message 
news:it5gqj$a1g$1 at digitalmars.com...
> Andrei:
>
>> If we all get convinced that named parameters are worth it,
>
> I think this is not going to happen because some people (two?) don't want 
> this feature.
>
> I am for it, if it's well implemented. The reordering is one important 
> part of this feature.
> An optional sub-feature is a way to deprecate argument names. Thankfully 
> in D there is already the deprecated keyword; a first idea:
>
> void foo(int deprecated(y) x) {}
> Or:
> void foo(int deprecated{y} x) {}
>

I like it!




More information about the Digitalmars-d mailing list