On 6/21/05, Matthew Zimmerman <[EMAIL PROTECTED]> wrote:
> Could we revisit the idea of using a shorter keyword for $?SELF, like
> 'o'? I know that $Larry said the idea was "probably" not going to work:
> 
>    http://tinyurl.com/7baz6
> 
> but I'm curious if the reasoning that killed it then still holds now,
> now that './' has emerged as a replacement.

./ bugs me a little bit since there is no $foo./bar .  Emphasis on "a
little bit".  I rather enjoyed the o. proposal, but a few people are
horribly opposed to it, because "o is a terrible name for a variable".
 I like to think of o. not as a varaible and a method call, but more
as just some syntax.  For instance:

    while $count --> 0 {...}

You could oppose that by saying "you should never put space between an
operand and a postfix operator, because it makes it look infix", or
you could look beyond that and see the arrow.  I do the same with
o.foo, not thinking of "o" as the letter o, but more as an open dot.

Anyway, I'm just happy that there's something to do the job.  Forcing
an explicit invocant was the only thing I didn't want, and making the
invocant the topic by default was the thing I especially didn't want.

Luke

Reply via email to