head const (again), but for free?

Imperatorn johan_forsberg_86 at hotmail.com
Wed Jan 13 09:24:36 UTC 2021


On Monday, 11 January 2021 at 20:07:48 UTC, Ola Fosheim Grøstad 
wrote:
> On Monday, 11 January 2021 at 19:05:13 UTC, Q. Schroll wrote:
>> [...]
>
> So, I disagree strongly with this. Head immutable is basically 
> the default mutability of tuples in most languages. It is used 
> a lot.
>
> [...]

When I see readonly I think of this:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/readonly


More information about the Digitalmars-d mailing list