db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: [jira] Commented: (DERBY-1363) Derby should publish a well defined coding convention per the db project guidlines
Date Fri, 04 Aug 2006 04:55:01 GMT
Kathey Marsden wrote:

> Daniel John Debrunner wrote:
>> -1 to defining a new format, why not just pick some existing standard.
>> +1 to defining some format.
> I will try just a little longer and  then we can just all go back to our
> pain.
> We go with the way the client code is described  but drop the mandatory
> braces around blocks so the client code should still fit.
> <proposal>
>  Sun default style with 4 space indent (no tabs).
> </proposal>

I looked at this & I now understand why it's not just the Sun style. The
Sun style contains this "The exact construction of the indentation
(spaces vs. tabs) is unspecified. Tabs must be set exactly every 8
spaces (not 4).", so I assume the addition is to specify the indentation.

Of course there's one section of the Sun standard I dislike and think
works against the power of the Java language, possibly leading to bugs,
but to raise it would be a bikeshed discussion. :-)


View raw message