const=readonly invariant=const

Bruce Adams tortoise_74 at yeah.who.co.uk
Wed Jan 2 13:48:11 PST 2008


On Wed, 02 Jan 2008 14:25:59 -0000, Daniel919 <Daniel919 at web.de> wrote:
>
>
> My opinion
>
> is that const reads like: this will never change
> I know there is no difference between  
> const,invariant,readonly,immutable,... in the English language.
> And that in C++ const also doesn't mean "this will never change".
>
My initial thought is oh no not again. It would be more productive to
leave thoughts about syntax to one side until the semantics are thoroughly
clear to everyone.



More information about the Digitalmars-d mailing list