DIP 1012--Attributes--Preliminary Review Round 1

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 27 16:38:33 PDT 2017


On Thursday, 27 July 2017 at 15:48:04 UTC, Olivier FAURE wrote:
> On Thursday, 27 July 2017 at 14:44:23 UTC, Mike Parker wrote:
>> DIP 1012 is titled "Attributes".
>>
>> https://github.com/dlang/DIPs/blob/master/DIPs/DIP1012.md
>
> This DIP proposes a very complex change (treating attributes as 
> Enums), but doesn't really provide a rationale for these 
> changes.

It is actually a very simple change, from the end user 
perspective.
* Function attributes that were keyword like, become regular 
attributes.
* They can be applied to modules, acting as a default for 
applicable symbols in the module.





More information about the Digitalmars-d mailing list