Re: Objects and classes, try 3

2003-03-10 Thread Dan Sugalski
At 10:22 AM -0500 3/10/03, Christopher Armstrong wrote: On Sun, Mar 09, 2003 at 01:07:46PM -0500, Dan Sugalski wrote: * Objects have properties you can fetch and store by name * Objects have methods you can call * Objects have attributes you can fetch * You can fetch a hash of all the properti

Re: Objects and classes, try 3

2003-03-10 Thread Christopher Armstrong
On Sun, Mar 09, 2003 at 01:07:46PM -0500, Dan Sugalski wrote: > * Objects have properties you can fetch and store by name > * Objects have methods you can call > * Objects have attributes you can fetch > * You can fetch a hash of all the properties > * When fetching or storing a generic property,

Re: Objects and classes, try 3

2003-03-10 Thread Dan Sugalski
At 8:25 AM + 3/10/03, Graham Barr wrote: On Sun, Mar 09, 2003 at 02:08:02PM -0500, Dan Sugalski wrote: At 1:52 PM -0500 3/9/03, Uri Guttman wrote: > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: > > > DS> * Objects have properties you can fetch and store by name > DS> * Obje

Re: Objects and classes, try 3

2003-03-10 Thread Graham Barr
On Sun, Mar 09, 2003 at 02:08:02PM -0500, Dan Sugalski wrote: > At 1:52 PM -0500 3/9/03, Uri Guttman wrote: > > > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: > > > > > > DS> * Objects have properties you can fetch and store by name > > DS> * Objects have methods you can call > > DS>

Re: Objects and classes, try 3

2003-03-09 Thread Dan Sugalski
At 3:05 PM -0500 3/9/03, Uri Guttman wrote: > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: >> so any class X that inherits from B must also modify the PARENT property >> in B? that sounds like PARENT is a hash of the classes which inherit >> from B. DS> Yep. Basically if the inher

Re: Objects and classes, try 3

2003-03-09 Thread Dan Sugalski
At 8:01 PM + 3/9/03, Piers Cawley wrote: Dan Sugalski <[EMAIL PROTECTED]> writes: At 6:53 PM + 3/9/03, Piers Cawley wrote: Dan Sugalski <[EMAIL PROTECTED]> writes: Okay, here's try three. I think I'm about ready to POD this up as a formal spec to be assaulted, but this version is mor

Re: Objects and classes, try 3

2003-03-09 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: >> so any class X that inherits from B must also modify the PARENT property >> in B? that sounds like PARENT is a hash of the classes which inherit >> from B. DS> Yep. Basically if the inheriting class is of a different type, such tha

Re: Objects and classes, try 3

2003-03-09 Thread Piers Cawley
Dan Sugalski <[EMAIL PROTECTED]> writes: > At 6:53 PM + 3/9/03, Piers Cawley wrote: >>Dan Sugalski <[EMAIL PROTECTED]> writes: >> >>> Okay, here's try three. I think I'm about ready to POD this up as a >>> formal spec to be assaulted, but this version is more a sketch than >>> anything: >>

Re: Objects and classes, try 3

2003-03-09 Thread Dan Sugalski
At 2:33 PM -0500 3/9/03, Uri Guttman wrote: > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> At 1:52 PM -0500 3/9/03, Uri Guttman wrote: DS> is done with a "PARENT" property on the >> >> on the what? DS> The delegated object. D'oh! DS> So if class A isa B, and B is a perl

Re: Objects and classes, try 3

2003-03-09 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> At 1:52 PM -0500 3/9/03, Uri Guttman wrote: DS> is done with a "PARENT" property on the >> >> on the what? DS> The delegated object. D'oh! DS> So if class A isa B, and B is a perl 5 hash-object-thingie, the object DS> tha

Re: Objects and classes, try 3

2003-03-09 Thread Dan Sugalski
At 1:52 PM -0500 3/9/03, Uri Guttman wrote: > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> * Objects have properties you can fetch and store by name DS> * Objects have methods you can call DS> * Objects have attributes you can fetch and store Well... I'm not sure about that. Cla

Re: Objects and classes, try 3

2003-03-09 Thread Dan Sugalski
At 6:53 PM + 3/9/03, Piers Cawley wrote: Dan Sugalski <[EMAIL PROTECTED]> writes: Okay, here's try three. I think I'm about ready to POD this up as a formal spec to be assaulted, but this version is more a sketch than anything: [...] Am I reading it right if I reckon that a Class isa Objec

Re: Objects and classes, try 3

2003-03-09 Thread Piers Cawley
Dan Sugalski <[EMAIL PROTECTED]> writes: > Okay, here's try three. I think I'm about ready to POD this up as a > formal spec to be assaulted, but this version is more a sketch than > anything: [...] Am I reading it right if I reckon that a Class isa Object? and an Object hasa Class (assuming tha

Re: Objects and classes, try 3

2003-03-09 Thread Uri Guttman
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> * Objects have properties you can fetch and store by name DS> * Objects have methods you can call DS> * Objects have attributes you can fetch and store DS> * You can fetch a hash of all the properties DS> * When fetching or st

Objects and classes, try 3

2003-03-09 Thread Dan Sugalski
Okay, here's try three. I think I'm about ready to POD this up as a formal spec to be assaulted, but this version is more a sketch than anything: Objects === * Objects have properties you can fetch and store by name * Objects have methods you can call * Objects have attributes you can fetch