From: Bertram Scharpf Date: 2006-05-10T04:08:45+09:00 Subject: Re: Method call syntax Hi, Am Dienstag, 09. Mai 2006, 14:10:28 +0900 schrieb Yukihiro Matsumoto: > In message "Re: Method call syntax" > on Tue, 9 May 2006 05:48:13 +0900, mathew writes: > > |"Omission of parentheses around method arguments may lead to unexpected > |results. Note that the Ruby developers have stated that omission of > |parentheses may be disallowed in future Ruby versions..." > > Omission of parentheses around method arguments for method calls in > the argument list may make programs hard to read / parse. > > for example, > > p sprintf "the answer=%d\n",42 > > warns like "warning: parenthesize argument(s) for future version", and > recommended code should be > > p sprintf("the answer=%d\n",42) I wouldn't mind to take account of a precedence rule, at best as it currently is. I'm rather annoyed by encountering these warnings all the time. Probablyi, I'm not considering some parsing difficulty. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de