From: Mike Hall Date: 2002-07-25T00:08:13+09:00 Subject: Re: Syntax "surprise" Kyle Rawlins wrote: > > On Wed, Jul 24, 2002 at 12:46:37AM +0900, Mike Hall wrote: > > obj.method a, b, c {|i| xyz} > > vs > > obj.method a b c {|i| xyz} > Wouldn't this add a significant amount of ambiguity and confusion? what if a > is a function that takes two arguments? what if the second is optional? Don't we have the same problem now, with commas? We "solve" it with parens to group the arguments and to clearly specify who goes with what. -- Mike Hall