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

2000-08-19 Thread Bryan C . Warnock
On Sat, 19 Aug 2000, Randal L. Schwartz wrote: > I'll have an adjacent cell. I actually like that *better* than $self. > Let's not stop there though. Perhaps we need "self" and "super" and > "thisContext". Only half joking... this would solve a lot of the > hacking issues. self could be a "die

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

2000-08-19 Thread John Siracusa
On 8/19/00 4:04 PM, Damian Conway wrote: > You can have your cake, but not force us to eat it too... Come, partake of the Loony Cake... :) > Like $AUTOLOAD, $ME would be dynamically scoped: > > package LoonyBin; > > sub self {$ME}; > > sub get_polite_age : method { > return (self->age >= 40)

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

2000-08-19 Thread Damian Conway
>From his padded room, Randal suggested: > > "John" == John Siracusa <[EMAIL PROTECTED]> writes: > > John> I don't like $ME either, but my alternative is probably even more > John> blasphemous: use $self. > > John> But wait, it gets worse: I'd even be happy with the bar

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

2000-08-19 Thread Randal L. Schwartz
> "John" == John Siracusa <[EMAIL PROTECTED]> writes: John> I don't like $ME either, but my alternative is probably even more John> blasphemous: use $self. "It usurps a variable name that has been legal for John> customer use in prior Perls!" you re-exclaim. Not if it only appears in a John

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

2000-08-19 Thread John Siracusa
On 8/19/00 11:50 AM, Randal L. Schwartz wrote: > 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 symmet

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

2000-08-19 Thread Randal L. Schwartz
> "Damian" == Damian Conway <[EMAIL PROTECTED]> 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