[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: immutable string type
From: |
Tim Rühsen |
Subject: |
Re: immutable string type |
Date: |
Sun, 29 Dec 2019 20:03:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 |
On 29.12.19 19:49, Paul Eggert wrote:
> On 12/29/19 4:07 AM, Tim Rühsen wrote:
>> Introducing a stronger 'const' could be helpful in some situations
>
> D has 'immutable' for that. It doesn't work as well as one might think.
It all depends on the implementation / definition of 'immutable' and how
it is used. Not sure what the actual problems are within D, though.
A quick web search didn't give me any complaints about immutable in D.
Do you have some examples or can you elaborate a bit ?
Regards, Tim
signature.asc
Description: OpenPGP digital signature
Re: immutable string type, Ben Pfaff, 2019/12/28
Re: immutable string type, Paul Eggert, 2019/12/28