Re: Variable attributes (was Re: RFC 355 (v1) Leave $[ alone.)
[email protected] (Nathan Wiger) Sun, 01 Oct 2000 14:57:29 -0700
| Newsgroups | perl.perl6.language,perl.perl6.language.data |
|---|---|
| Message-ID | <[email protected]> |
> I haven't got around to RFCing the more generic version (that all attributes > are inherited inside nested data types), but that would certainly be a nice > approach. RFC 337...the new version I just sent in says: This would allow those who want to to warp Perl OO into Java or Python or C++ without these features having to be either widely used or embedded in core. A base class could simply define attribute handlers which other classes could then inherit from. Attributes would be inherited just like subs. Although I didn't mention the implicit autoviv inheritance idea - that's cool, though. It's something that probably should have gone into RFC 279, actually. Sigh. Too many RFC's. -Nate (who will shortly, per the suggestion of Jeremy, be checking himself into the Betty Ford RFC Recovery Program)