Andrea Aime ha scritto:
>> I have to disagree here. It is readable only when the whitespace is 
>> formatted properly, and in many cases it is not. I prefer always to use 
>> braces to be on the safe side, but that is just a personal preference.
> 
> I can go for that, but then let's make the Eclipse formatter enforce
> this.

Btw, the Java coding convention actually says to always use braces here:
http://java.sun.com/docs/codeconv/html/CodeConventions.doc6.html#449
(thought a quick inspection in ArrayList sources shows the practice
  is the opposite, one liners almost never have braces around them)

> No comment on the function call spaces? Can we trade horses here? ;-)
> (nobody else actively committing with an opinion on this?)

I could not find an explicit statement, but looking at the examples here 
(or in any other page of the convention):
http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#682
it would seem adding spaces after ( and before ) is not part of
the convention

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to