On Apr 19, 2006, at 11:43 AM, Norman Palardy wrote:
Constants and shared methods and properties are class members, not
instance members. I now understand that instance scope works
intentionally, but I do not think it should.
Why not ?
Every instance is a member of that class and shares those properties.
The instance version of looking up the property is just a "short hand"
to getting at the class' shared property.
I would prefer to think of it as the class owning the property, not
each instance sharing the same property. Allowing instance syntax means
you never know whether instance.someProp is a shared property or an
instance property (without looking it up or remembering). It just makes
things less clear, IMO.
-- Asher
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>