Re: PDD 15: Objects

2004-02-17 Thread Dan Sugalski
At 10:31 PM +0100 2/17/04, Leopold Toetsch wrote: Dan Sugalski wrote: (Note that the reason for explicit attribute access, rather than using the P5["foo"] scheme, is that we may well have an object that acts like a hash or array, so we can't coopt the array/hash access method for attributes. Bu

Re: PDD 15: Objects

2004-02-17 Thread Leopold Toetsch
Dan Sugalski wrote: (Note that the reason for explicit attribute access, rather than using the P5["foo"] scheme, is that we may well have an object that acts like a hash or array, so we can't coopt the array/hash access method for attributes. But I digress, though I didn't explain properly earl

PDD 15: Objects

2004-02-17 Thread Dan Sugalski
This should be complete, now. I chopped out the bit in the draft about the API, so it has the ops, the vtable methods, and the examples. I expect it needs some work, so please, have at it and lets work out its deficiencies. (Note that the reason for explicit attribute access, rather than using