Blog Post: Beating std::visit Without Really Trying

Paolo Invernizzi paolo.invernizzi at
Mon Oct 14 07:41:56 UTC 2019

On Saturday, 12 October 2019 at 03:10:29 UTC, Walter Bright wrote:
> On 10/7/2019 12:37 AM, Paolo Invernizzi wrote:
>> - adding another method to a class, marked @nogc, and (maybe) 
>> deprecating the previous method is seen as 'annoying', also if 
>> it's a _clear_ improvement over the actual situation (you can 
>> write _better_ code with that in place compared to the actual 
>> situation, I mean)
> @nogc doesn't actually enable writing better code. It doesn't 
> change the generated code at all.

I meant, writing better _source_ code, especially for reviewers.

>> I'm on the same boat with you, regarding what you wrote, but 
>> ... I still don't understand the number printed on the bar 
>> level.
> Atila is in charge of this, and he is because he's shown 
> excellent judgement about these matters over the years.

I'm faithful for Atila judgement, and at the same time I've 
always liked also your pragmatism. Anyway, I'll sit waiting for a 
policy decision on cases similar to the one mentioned.

More information about the Digitalmars-d-announce mailing list