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

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun Feb 6 22:03:57 UTC 2022


On Sunday, 6 February 2022 at 20:52:21 UTC, Paul Backus wrote:
> If you intended to direct your messages at "the community" in 
> general, rather than at me specifically, you should have 
> started a new thread. As is, with these messages buried several 
> pages deep in a thread about a different topic, most members of 
> "the community" are unlikely to ever even read them in the 
> first place.

Good point. I will reread Robert's post on strategy and think 
about this for a while and write a more visible post when I have 
something that captures both Robert's concerns and concerns 
related to system level programming.

That said, I really wish you had talked more with C++ programmers 
who make use of modern C++ before writing the DIP. I am 
personally so used to adding ```[[nodiscard]]``` on all functions 
that it has become second nature. It is a very valuable feature 
in regards to refactoring I think, but also the most 
ill-conceived design in modern C++ (that I use). I might as well 
do a ```#define func [[nodiscard]]```.



More information about the Digitalmars-d-announce mailing list