Interested in D, spec confuses me.

bubbasaur via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 2 16:47:55 PST 2016


On Wednesday, 3 February 2016 at 00:41:31 UTC, Ali Çehreli wrote:
> I like this explanation:
>
> - A const parameter is a promise by the callee to not modify
>
> - An immutable parameter is a requirement for the caller to 
> never modify

Well this explanation on the matter was simple, solid and 
comprehensive enough.

Bubba.


More information about the Digitalmars-d mailing list