On 4/17/02 12:53 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> claimed:
> I think the gain is just the option of not having to write () in if. > If () was still mandatory, there would be no ambiguity when a block > is a hash index and when it cannot be - which means it has to be a > closure. Well, that was a side-effect of Larry not wanting "an extra unnatural delimiter" -- e.g., parentheses -- for switch statements. He feels, as a linguist, that it reads better. I agree that it's subjective, though, and some will mourn the affect that the loss of parentheses has on hash subscripting. I, however, will not. > It's not just C. It's also any language than I've programmed in. > It's also a rather significant break from 14 years of perl. I agree that it's a break, but maybe because I almost never use whitespace for hash subscripting, it doesn't seem like a big deal to me. And I'm happy to leave out the parentheses. But again, it's subjective. Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED]
