At 7:10 PM -0700 5/31/05, TOGoS wrote:
 > The 'used as' type indicates whether this key
 is to be used to do a  by-integer-index (array)
 access or by-string-index (hash) access.

Why not extend this to properties, too?

Because properties (and attributes) are metadata. At the moment properties aren't ordered, but they could be I suppose. (well... maybe) Attributes certainly are. You may want to access them by name or by offset, in which case you wouldn't want an as-property flag in the key, but rather use a key structure to access properties and attributes.
--
                                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk
  • re: Keys Dan Sugalski

Reply via email to