On Tue, May 31, 2005 at 07:10:42PM -0700, TOGoS wrote:
> Why not extend this to properties, too?
I don't know of a good use case for that.

Now multidimensional arrays are common enough, and workarounds to
emulate them are enough of a pain[*], that Parrot support for them
makes sense.  In contrast, abstracting all structural navigation into
one infrastructure seems more like coolness than usefulness.

[*] Emulated or specialized multidim arrays in Perl 5 (or C++ for that
    matter) end up needing proxy objects to represent intermediate
    lookup results; e.g. given $tiedarray[0][1], you need a proxy
    object to hold on to [ [EMAIL PROTECTED], 0 ] until the [1] comes in.
    Having all the keys collected together before the first lookup
    avoids that hackery.
-- 
Chip Salzenberg <[EMAIL PROTECTED]>

Reply via email to