Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order forany hash)

[email protected] (Nathan Wiger)
Newsgroups perl.perl6.language.objects
Message-ID <[email protected]>
> You can have your cake, but not force us to eat it too...
> 
> Like $AUTOLOAD, $ME would be dynamically scoped:

The first time I saw the bareword "self" keyword I almost wet myself in
horror, but I would say that $AUTOLOAD is a disaster that should not be
repeated. And that's the way that this $ME thing is headed...
 
> We seem to cope with $AUTOLOAD okay, without the need to:

I hate it, it's miserable. Too much hidden trickery and special cases. I
could deluge you with examples but I'd rather not. A sub call would
probably be better.

We have ref(), want(), and other calls to find out context, why not
self() to backtrace package context?

-Nate
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.