commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [lang] Code clean up of "return (value);"?
Date Sat, 09 Oct 2004 00:15:08 GMT
This shows up in Struts quite a bit and I think Craig uses this
convention.  I don't personally care for it because Java needs less syntax
rather than more :-).

David


--- Gary Gregory <ggregory@seagullsoftware.com> wrote:

> Hello,
> 
> I've noticed in [lang] the use of extraneous parentheses in return
> statements: 
> 
> 	return (expr);
> 
> I would like to change these to:
> 
> 	return expr;
> 
> I have some previous-life flashbacks of "return (expr);" being a C
> construct. I find that the extra parentheses makes the code harder to
> parse.
> 
> Does anyone care to keep the extra parentheses?
> 
> Thanks,
> Gary
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message