const or immutable?

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Thu Sep 23 08:45:51 UTC 2021


On Wednesday, 22 September 2021 at 20:06:59 UTC, Ali Çehreli 
wrote:
> ....

imho they can be interpreted like this for parameters:
const: I won't change it.
immutable: I won't change it, and expect no one else to change it 
too.

Regards,
Alexandru.


More information about the Digitalmars-d mailing list