Getting the const-correctness of Object sorted once and for all

Chris Cain clcain at uncg.edu
Sun May 13 21:10:28 PDT 2012


On Monday, 14 May 2012 at 02:57:57 UTC, Mehrdad wrote:
> The problem is that it's unavoidable.
>
> i.e. you can't say "don't mark it as const if it isn't const", 
> because, practically speaking, it's being forced onto the 
> programmers by the language.

You're really against const in this language, huh?

Let me ask you something: Could you try to name 2 or 3 good
things about const/immutable without looking it up? If not,
you've really not given enough effort to learning about the
benefits of it.


More information about the Digitalmars-d mailing list