Why do immutable variables need reference counting?

wjoe invalid at example.com
Thu Apr 14 12:07:15 UTC 2022


On Tuesday, 12 April 2022 at 23:23:59 UTC, Ali Çehreli wrote:
> [...]

Looking at this from a technical perspective - everything you say 
is true - and thanks for clearing up some of my confusion in that 
department.

Looking at this from a natural language (English) perspective - 
words prompt ideas and expectations. If these expectations aren't 
met confusion and misunderstanding happens (and that's not just 
true for software development).
Although, perhaps, that's only a problem for (some) non native 
English speakers ? The fact remains that there's confusion and 
misunderstandings regarding const, immutable and const 2.



More information about the Digitalmars-d-learn mailing list