jastrachan | 23 Apr 13:05 2004
Picon

Re: [groovy-user] 答复: [groovy-user] Parens and Parameters

On 23 Apr 2004, at 09:41, bing ran wrote:
> I would even go more radical and suggest we drop the () for "if"s and
> "while"s. I find them getting in my way of thinking from day to day.
>
> If most people do find them hard to read, we could have a code 
> formatter in
> our plugins that adds those () back to out working code, so to please 
> both
> camps.

I think we put them in to avoid ambiguities; we'll have to consider 
this on the JSR - can we omit these parenthesis and still have 
unambiguous code.

James
-------
http://radio.weblogs.com/0112098/

Gmane