Persistent list

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 16 15:56:13 PST 2015


On Monday, 16 November 2015 at 22:30:55 UTC, Andrei Alexandrescu 
wrote:
> On 11/16/2015 05:02 PM, Jonathan M Davis wrote:
>> It's just that you use inout instead of const. How is that 
>> worse?
>
> The short answer is my perception is inout is too complicated 
> for what it does. -- Andrei

I'm happy to read this. inout has the wrong cost/complexity 
ratio. It doesn't solve the problem generally (one want to  
return type depending on argument qualifier in general, not only 
for type qualifiers) while having a high complexity.



More information about the Digitalmars-d mailing list