unpaintable (the solution to logical const)

Jason House jason.james.house at gmail.com
Fri Apr 4 16:05:27 PDT 2008


Janice Caron wrote:

> On 04/04/2008, Jason House <jason.james.house at gmail.com> wrote:
>> Most of the later terms seem confusable with non-changing data instead of
>> type. I like the term isolate the best.
> 
> Yeah, it's true - the thing that gets frozen is the /type/, not the
> /value/, so any word that is a synonym for const would be s-o-o-o-o
> confusing.
> 
> I recently suggested to Steve that we use an adverb instead of an
> adjective

What about always?  It's short and seems to work pretty well.

always invariant C x;
always const C y;
always C z;

My only concern is that stuff like "always int x = 5" could be confused as a
constant.



More information about the Digitalmars-d mailing list