Re: RFC 152 (v1) Replace $self in @_ with self() builtin (not $ME)
[email protected] (Hildo Biersma)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Organization | Morgan Stanley Dean Witter & Co. |
| Message-ID | <[email protected]> |
> =head1 TITLE > > Replace $self in @_ with self() builtin (not $ME) > Don't impose your religion on others. If people want 'this' instead of 'self', that should be just fine. It should be pretty easy to define the appropriate $ME-reader like this: use ObjectStyle 'self'; or use ObjectStyle 'Java'; for the appropriate, per-module scoped, definitions for: - self vs this - super vs SUPER vs base vs parent - DESTROY vs finalize vs destructor - default of 'private', 'protected' or 'public' and any others we can come up with... Hildo