On Mon, May 21, 2001 at 12:47:15PM -0700, Dave Storrs wrote:
> On Mon, 21 May 2001, Jonathan Scott Duff wrote:
> > Would you also advocate separate declarative syntax for variable
> > properties and value properties?  That's where I think much confusion
> > will be.
> 
>       Yes, I would.  What that syntax would be, I'm not so
> sure...although the following all have some appear:
> 
>       my $pi is constant;             # compile time
>       my $foo is now true;            # run time

[ other examples elided ]

Or how about we just don't use "is" for run-time properties (which
look so much like attributes, that we should just call them that)

        my $pi is constant = 3.14;              # compile time
        my Dog $spot;  $spot.has_fleas(1);      # run time
        return 0.true(1);                       # INTEGER(0).true(1) ?
        print 3.1415.pi(1);                     # NUMBER(3.1415).pi(1) ?

Granted, we lose the stacking that we had with "is" and properties of
constants look funny ...

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to