On Wed, Aug 16, 2000 at 08:01:12AM +1000, Damian Conway wrote:
>    > I don't think the :lvalue is needed. This isn't really an attribute - if
>    > someone writes:
>    > 
>    >    $r->name = 'Mithrandir';
>    > 
>    > there's no confusion that it's assigning it.
> 
> Ah, but there's definitely a confusion as to whether it's *meant*
> to be assignable.
> 
> What if I (as the class designer) want to give you read access but not
> write access to an object's name?

Or if I'm in truly evil mood and make assignments mean push() and
reads mean pop()...

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to