Hi -- On Fri, 13 May 2005, Joel VanderWerf wrote: > Ben Giddings wrote: > >> I've never been super fond of '=>' as a syntax for creating hashes, but I >> can accept it. The point I'm trying to make is that currently it's easy to >> visually confuse a block and a hash. I'd prefer if array, block and hash >> were all visually distinct, but I think it's much less dangerous to have >> arrays and hashes look similar because they are similar creatures. > > OTOH, hashes and arrays tend to be used in the same kinds of places, and > blocks tend to be in different places, so context helps us distinguish hashes > from blocks in the current syntax. Yes, and another thing that's getting lost in the mix here is the fact that {} and do/end are not the same as each other. They have different precedence. It's not just a whimsical TMTOWTDI thing. David -- David A. Black dblack / wobblini.net