On Tue, 2003-01-28 at 16:34, Dan Sugalski wrote:
> At 4:17 PM -0500 1/28/03, Aaron Sherman wrote:
> >  Now the question becomes, do you WANT them
> >for readability?
> 
> Given that Larry's answer has been a resounding "yes" all along, 

I'm not sure that this specific case was brought up. I remember Larry
weighing in on the thread about using [] as the only list constructor,
but that's a different issue. Granted, I've been away focusing on work,
so I may have missed it.

> the 
> technical reasons (Which are, themselves, sufficient) are pretty 
> irrelevant.

I'm not sure I recall the sufficient, yet irrelevant technical reasons.
I certainly can't think of anything. It also helps in the case of
objects that are non truly arrayish or hashish:

        my SuperTree $foo;
        $foo["Munge"]; # Returns the node whose value is "Munge"
        $foo[0]; # Returns a node based on tree-position

The only remaining behavior of braces that I can think of as different
from brackets is auto-quoting, and is there a good reason that brackets
could not auto-quote?

-- 
Aaron Sherman <[EMAIL PROTECTED]>
This message (c) 2003 by Aaron Sherman,
and granted to the Public Domain in 2023.
Fight the DMCA and copyright extension!


Reply via email to