unpaintable (the solution to logical const)
Paul D Anderson
paul.d.anderson.removethis at comcast.andthis.net
Fri Apr 4 14:35:07 PDT 2008
Knud Soerensen Wrote:
>
> > Walter said that having mutable fields breaks the whole const system.
> > He may have been right - but having /unpaintable/ fields is just fine
> > and dandy. Everything works. const(...) and invariant(...) will paint
> > only the paintable fields with constancy, but those fields the paint
> > recursively.
> >
> > It just works.
>
> I like the idea. Here are some suggestion for a better name.
> isolate
> confine
> detach
> stable
> steady
> stationary
> fixed
> permanent
untouchable?
impervious?
invulnerable?
unaffected?
erudite?
inflexible?
unyielding?
unreceptive?
obdurate?
adamant?
incorruptible?
It's hard to find a word that indicates "this is what I want, don't mess with it" without also evoking constancy.
intentional?
premeditated?
calculated?
purposeful?
How about our old standy "final"?
Paul
More information about the Digitalmars-d
mailing list