unpaintable (the solution to logical const)

Jason House jason.james.house at gmail.com
Fri Apr 4 14:42:01 PDT 2008


Most of the later terms seem confusable with non-changing data instead of type. I like the term isolate the best.

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




More information about the Digitalmars-d mailing list