On 9/18/00 3:44 AM, Damian Conway wrote:
>>>   my $weather = new Schwern::Example;
>>>   print "Today's weather will be $weather->{temp} degrees and sunny.";
>>>   print "And tomorrow we'll be expecting ", $weather->forecast;
>> 
>> You are wicked and wrong to have broken inside and peeked at the
>> implementation and then relied upon it.
> 
> I think the issue is: *what* tempted them to be so wicked and wrong.
> It is the fact that iniquitous direct access interpolated easily, whereas
> virtuous accessor access didn't.

Don't forget the fact that direct access is much faster than a method
call in Perl 5.  This will be fixed in Perl 6, of course...right? :)

-John

Reply via email to