From: Joel VanderWerf Date: 2005-05-13T04:22:47+09:00 Subject: Re: {} vs begin/end [was Re: object loops and what they return] Ben Giddings wrote: > On Thursday 12 May 2005 13:38, David A. Black wrote: > >>You'll have to fight it out with the ones who wanted braces for block >>literals and hashes to be something else :-) > > > I could accept that too -- I would just want one syntax for blocks, a > different one for braces, and no confusing middle ground. > > I'd be happy with this for arrays too: > > ["pet" => "dog", "name" => "fred", "drink" => "ale"] > > or > > ["pet": "dog", "name": "fred", "drink": "ale"] > > I just think that {a => b} and {a <= b} are too similar. But then there would be the similarity between ["a" => "b"] # Hash and ["a" <= "b"] # Array (or did I misunderstand?)