At 10:31 PM +0100 2/17/04, Leopold Toetsch wrote:
Dan Sugalski wrote:

(Note that the reason for explicit attribute access, rather than using the P5["foo"] scheme, is that we may well have an object that acts like a hash or array, so we can't coopt the array/hash access method for attributes. But I digress, though I didn't explain properly earlier)

Thought about that too and your argument is very reasonable. Does that also mean that we have no shortcuts for setting an attribute to a native item (set PObj["a"], 1) or is that just postponed?

Postponed. While it'd be nice to not do it, as has been pointed out to me it allows for much tighter packing of things, so we'll do it eventually, just not now.


And what about named access of arguments, *if* I just done't care about speed?

I thought that was in the PDD, but I'll go double-check. I might've munched something inadvertently. If it's missing I'll add it back in, as being able to fetch by fully-qualified name is useful for introspective code.
--
Dan


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

Reply via email to