Our Sister

Seb via Digitalmars-d digitalmars-d at puremagic.com
Thu May 26 15:17:03 PDT 2016


On Thursday, 26 May 2016 at 21:42:31 UTC, jmh530 wrote:
> On Thursday, 26 May 2016 at 20:24:10 UTC, Andrei Alexandrescu 
> wrote:
>> On 05/26/2016 02:44 PM, Seb wrote:
>>> If you want RCStr to be adapted it has to be a drop-in 
>>> replacement for
>>> string.
>>
>> With all the criticism leveled against string, I thought more 
>> of the opposite. This is an opportunity to get it right. -- 
>> Andrei
>
> Hmm, I think it would be better to be right than necessarily a 
> drop-in. I think the idea is so that you could change
> alias string = immutable(char)[];
> to something using RCString and there would be minimal 
> breakages.

Oh yes that's what I meant. Sorry for being so confusing.
__Right__ is way more important than breakages. For that we have 
`dfix`.


More information about the Digitalmars-d mailing list