develooper Front page | perl.perl6.language.objects | Postings from August 2000

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

From:
merlyn
Date:
August 19, 2000 08:50
Subject:
Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order for any hash)
Message ID:
m14s4hl06y.fsf@halfdome.holdit.com
>>>>> "Damian" == Damian Conway <damian@cs.monash.edu.au> writes:

Damian> Don't give alternatives. Give a "these alternatives were considered and
Damian> *rejected*" list. $ME is capitalized (like all "magic" vars), and short.

I actually don't like the literal $ME.  It usurps a variable name that
has been legal for customer use in prior Perls.  Why not use something
more "system-belonging" like %_ or even $_?  In fact, "self" in $_ and
"args" in @_ has a nice symmetry.  Or we make $_->{self} be self, and
maybe $_->{context} be the calling context, etc etc?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About