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