--- Garrett Goebel <[EMAIL PROTECTED]> wrote:
> From: Dan Sugalski [mailto:[EMAIL PROTECTED]]
> > At 9:51 AM -0800 1/14/03, Jonathan Sillito wrote:
> > >
> > >Below are some questions about this ...
> > 
> > And now some answers. :)
> > 
> > >>  From: Dan Sugalski [mailto:[EMAIL PROTECTED]]
> > >
> > >[snip]
> > >
> > >>  Objects, as far as I see it, have the following properties:
> > >>
> > >>  1) They have runtime-assignable properties
> > >
> > >Terminology question: what is the difference between a 
> > >property and an attribute? Perhaps the answer could go in
> > >the glossary.
> > 
> > A property is a runtime assignable name/value pair that you stick on 
> > a variable or value. An attribute is a named variable that all 
> > objects of a particular class have.
> 
> For a while perl6-language was using both terms for the runtime
> variable/value name/value tag. This stems from Perl 5.6's attributes and
> Attribute::Handlers modules. But in Perl6 s/attributes/properties/ because
> properties have nothing to do with OO, whereas 'attribute' has the
> "object/class data-member" meaning in OO.
> 
> > Properties can come and go at runtime, but attributes are fixed. (I 
> > think you could also consider attributes "instance variables", but 
> > I'm a bit OO fuzzy so I'm not sure that's entirely right)
>  
> Both classes and objects can have attributes.
> 
> No runtime modification of class and/or object attributes... :(

So a property is just an element in a hash attribute?

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to