Justin Deoliveira wrote:
> Andrea Aime wrote:
>> if(xxx)
>> // one liner
>> reads much better than
>> if(xxx) {
>> // one liner
>> }
> 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 agree with Justin, and use braces for all conditionals. When the Java
compiler refuses to accept misleading indented code, perhaps I might
change my view. ;-)
--
Ben Caradoc-Davies <[email protected]>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia
------------------------------------------------------------------------------
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