Erik Bågfors wrote: > On Mon, 2003-03-03 at 16:52, Garrett Goebel wrote: > > From: Erik Bågfors [mailto:[EMAIL PROTECTED] > > > On Sun, 2003-03-02 at 23:21, Dan Sugalski wrote: > > > > > > > > Objects have (all optional): > > > > > > > > *) Properties > > > > *) Methods > > > > *) Attributes > > > > > > Can you give a clear example of what the difference is between > > > properties and attributes? > > > > My imperfect understanding is: > > > > "attribute" is only used in an OO context and refers to the > > data members the class or object encapsulates. > > > > "property" has nothing inherently to do with OO. Properties > > are tags against variables and values and are compile or run > > time specific. Hints to the compiler and interpreter... > > Ok, any example of such a property....?
A listing of Perl6 properties was recently covered on perl6-language: http://groups.google.com/groups?selm=20030301205804.GG16784%40shadowed.net -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com