UDA for module declaration.
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 17 09:37:00 PDT 2014
On Wednesday, 17 September 2014 at 12:30:26 UTC, Timon Gehr wrote:
> On 09/17/2014 03:43 AM, Orvid King wrote:
>>
>>
>> Why all this talk?
>> I've created pull request for dmd, which allows UDA for modules
>> (https://github.com/D-Programming-Language/dmd/pull/3947) and
>> Walter
>> says that I should open topic in n.g. and justify the
>> usefulness of this
>> enhancement.
>
> As far as I am concerned, this does not need any justification,
> but leaving it out would. A module declaration is as much a
> declaration as any other declaration and declarations can be
> annotated with UDAs.
I agree. "Language consistency" sounds like good justification
here on its own, the less special cases we have, the better it is
for the learning curve.
More information about the Digitalmars-d
mailing list