DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun Feb 6 15:46:47 UTC 2022


On Sunday, 6 February 2022 at 15:17:35 UTC, Paul Backus wrote:
> On Sunday, 6 February 2022 at 14:44:40 UTC, Ola Fosheim Grøstad 
> wrote:
>> On Sunday, 6 February 2022 at 13:33:53 UTC, Paul Backus wrote:
>>>
>>> @mustUse is a user-defined attribute, and the official style 
>>> guide says that names of UDAs should be camelCased:
>>
>> It is kinda confusing to call it a user-defined attribute if 
>> it is recognized by the compiler.
>
> Compiler-recognized UDAs are an established feature of D. See 
> [`core.attribute`][1] for more examples.

I don't need those? So hence I don't care…

This feature you are proposing with this DIP is a *very important 
one* in my view, and I would use it almost everywhere.




More information about the Digitalmars-d-announce mailing list