On Thu, Mar 17, 2005 at 08:41:26AM -0800, Larry Wall wrote:
> I've been thinking about this in my sleep, and at the moment I think
> I'd rather keep .foo meaning $_.foo, but break the automatic binding
> of the invocant to $_.  Instead of that, I'd like to see a really,
> really short alias for $self.  Suppose we pick "o" for that, short
> for "object".  Then we get self calls of the form:
>     o.frobme(...)
> Now that has some interesting possibilities for variants.  We could
> have
>     c.bless(...)

Wow.  With those single-casting-cost cantrips, the OO color will surely
make a huge comeback in Perl6: The Gathering golfing tournaments! :)

I like them.  They look really really good to my eyes after the first
20 minutes or so of mental reconfiguration.  For some strange
psychological reasons, they make Pugs 6.2 so much more enjoyable to
work on for me. :-)


Attachment: pgpuLiyu2UtLd.pgp
Description: PGP signature

Reply via email to