On Friday, 28 January 2022 at 13:07:13 UTC, Mike Parker wrote:


my only concern is the capital U, in @mustUse

This seems a little inconsistent with current attributes??

e.g:

nogc
nothrow
inout

https://dlang.org/spec/attribute.html

also, nodiscard would actually seem more logical, given the above as well.

I bet you, people will be thinking nodiscard, but will have to remember to type, @mustuse, only to have the compiler complain, that its' actually @mustUse
  • Re: DIP 1038--"@mustU... forkit via Digitalmars-d-announce
    • Re: DIP 1038--"@... forkit via Digitalmars-d-announce
      • Re: DIP 1038--&qu... Paul Backus via Digitalmars-d-announce
        • Re: DIP 1038-... forkit via Digitalmars-d-announce
          • Re: DIP 1... Guillaume Piolat via Digitalmars-d-announce
            • Re: ... Guillaume Piolat via Digitalmars-d-announce
            • Re: ... Paul Backus via Digitalmars-d-announce
              • ... jmh530 via Digitalmars-d-announce
                • ... forkit via Digitalmars-d-announce
              • ... Guillaume Piolat via Digitalmars-d-announce
                • ... Ola Fosheim Grøstad via Digitalmars-d-announce

Reply via email to