Re: RFC 152 (v1) Replace $self in @_ with self() builtin (not $ME )

[email protected] (Tom Christiansen)
Newsgroups perl.perl6.language.objects
Message-ID <16097.967500606@chthon>
>I think they would *improve* readability. Certainly over $_[0], and
>even over:

>	sub method {
>		my ($self, @args) = @_;
>		...
>	}

>I'm *forever* writing that and just it clutters up the code.

What about

    sub somename : method (@args) {
	...
    }

And leaving your$self some other way at the object?

--tom
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.