Re: Traits: to renew OO inheritance in a hacker style discussion

2004-02-17 Thread Dan Sugalski
At 9:15 AM -0800 2/17/04, Larry Wall wrote: On Tue, Feb 17, 2004 at 11:39:07AM -0500, Dan Sugalski wrote: : At 8:30 AM -0800 2/17/04, Larry Wall wrote: : >So perhaps we need a different word than "does" to indicate that : >you want to include the Dog interface without including the Dog : >implement

This week's summary

2004-02-17 Thread The Perl 6 Summarizer
The Perl 6 Summary for the week ending 20040215 In his talk on Parrot at OSCON last year, Dan said that Parrot would have objects 'by the end of the week'. It's been a very long week, and it's not finished yet. Right, venting over, time for the summary. I'll start with perl6-in

Re: Traits: to renew OO inheritance in a hacker style discussion

2004-02-17 Thread Larry Wall
On Tue, Feb 17, 2004 at 11:39:07AM -0500, Dan Sugalski wrote: : At 8:30 AM -0800 2/17/04, Larry Wall wrote: : >So perhaps we need a different word than "does" to indicate that : >you want to include the Dog interface without including the Dog : >implementation. Perhaps we can do that with "is like

Re: Traits: to renew OO inheritance in a hacker style discussion

2004-02-17 Thread Dan Sugalski
At 8:30 AM -0800 2/17/04, Larry Wall wrote: So perhaps we need a different word than "does" to indicate that you want to include the Dog interface without including the Dog implementation. Perhaps we can do that with "is like(Dog)" or some such if we don't want to Huffman code it shorter. Then pe

Re: Traits: to renew OO inheritance in a hacker style discussion

2004-02-17 Thread Larry Wall
On Thu, Feb 12, 2004 at 05:58:18PM -0800, Jonathan Lang wrote: : Larry Wall wrote: : > What I'm currently thinking about is a "does" predicate that tells you : > if an object/class does a particular role completely. If you pull : > part of a role into a class, it returns false, because it doesn't