On Monday, 7 February 2022 at 05:09:23 UTC, Paul Backus wrote:
On Monday, 7 February 2022 at 05:05:27 UTC, forkit 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

See my previous replies on this topic:

https://forum.dlang.org/post/xgdwevkxqapljcvyj...@forum.dlang.org
https://forum.dlang.org/post/yxoinjtarkuotnlnc...@forum.dlang.org

no amount of replies will change anything ;-)

.. people will still 'think' @nodiscard, but have to 'remember' it's actually @mustuse, but oops.. no... it's @mustUse..

I do not expect anything from my feedback ;-) .. I'm just saying..humans are humans..

              • ... Walter Bright via Digitalmars-d-announce
              • ... forkit via Digitalmars-d-announce
              • ... forkit via Digitalmars-d-announce
              • ... forkit via Digitalmars-d-announce
              • ... claptrap via Digitalmars-d-announce
              • ... forkit via Digitalmars-d-announce
        • Re: DIP 1038-... Daniel N via Digitalmars-d-announce
  • Re: DIP 1038--"@mustU... forkit via Digitalmars-d-announce
    • Re: DIP 1038--"@... Paul Backus via Digitalmars-d-announce
      • Re: DIP 1038--&qu... forkit via Digitalmars-d-announce
        • Re: DIP 1038-... Paul Backus via Digitalmars-d-announce
          • Re: DIP 1... forkit via Digitalmars-d-announce
            • Re: ... Guillaume Piolat via Digitalmars-d-announce
              • ... Guillaume Piolat via Digitalmars-d-announce
              • ... 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
              • ... rikki cattermole via Digitalmars-d-announce

Reply via email to