On Tue, Oct 30, 2001 at 04:15:46PM -0600, David M. Lloyd wrote:
> On Wed, 31 Oct 2001, Damian Conway wrote:
> 
> > To me C<is const> means: "the *value* stored in the memory
> > implementing this variable cannot be changed". Which doesn't preclude
> > rebinding the variable to some *other* memory.
> >
> > But others have a different (and equally reasonable) interpretation of
> > C<is const>: "the value I get from this variable will always be the
> > same".
> 
> Then maybe we shouldn't call it 'is const'?  Or maybe another tag is
> needed in addition, like 'is unbindable' for the latter case.

Yes, I see the wisdom of not using "const" here, since it does carry
SO MUCH baggage. "final" has Java baggage. "only", "stable",
"ro" or "firm" might be the way to go.

"unbindable" is a bit of a mouthfull... Perhaps "fixed" or "eternal"
would be good.

        our $.pi is firm is fixed = 22/7;

Has a nice ring to it.... Of course, so does

        our $.author is eternal = 'Larry';

Meaning you can have a new author, but only by killing the old one ;-)

Speaking of killing the old one, I assume that:

        $a = 1;
        $b = 2;
        $c := $a;
        $a := $b;

Will leave:

        $c == 1 && $a == 2

True?

-- 
Aaron Sherman
[EMAIL PROTECTED]             finger [EMAIL PROTECTED] for GPG info. Fingerprint:
www.ajs.com/~ajs        6DC1 F67A B9FB 2FBA D04C  619E FC35 5713 2676 CEAF
  "Write your letters in the sand for the day I'll take your hand
   In the land that our grandchildren knew." -Queen/_'39_

Reply via email to