Re: RFC - Interpolation of method calls

[email protected] (Damian Conway) Mon, 18 Sep 2000 18:44:18 +1100 (EST)
Newsgroups perl.perl6.language.objects
Message-ID <[email protected]>
   > >   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.

Perhaps this RFC should be subtitled: "Ne nos inducas in tentationem..."

:-)

Damian