DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted
Paul Backus
snarwin at gmail.com
Sun Feb 6 14:00:15 UTC 2022
On Sunday, 6 February 2022 at 13:40:00 UTC, Paolo Invernizzi
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:
>>
>> https://dlang.org/dstyle.html#naming_udas
>
> ... This matches conventions of the built in attributes like
> @safe, __ at nogc__ ...
Presumably this is referring to the part about the first letter
being lower-case, since the built-in attributes are quite
obviously not camelCased.
More information about the Digitalmars-d-announce
mailing list