db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narayanan <V.Naraya...@Sun.COM>
Subject Re: Coding standards (was Re: [jira] Commented: (DERBY-3531) DatabasePermission uses a JDK 1.4 method that is not present in J2ME/CDC/Foundation.)
Date Fri, 30 May 2008 13:40:51 GMT
Kathey Marsden wrote:
> Rick Hillegas wrote:
>>
>> Here's what the community approved: 
>> http://www.nabble.com/-VOTE---Approve-coding-conventions-for-the-Derby-project-td5771191.html

>>
>>
>> We are supposed to use spaces rather than tabs and indentation should 
>> be 4 spaces according to the included standard 
>> (http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html). 
>> However, we also allowed ourselves plenty of wiggle room in old code.
I always felt uneasy about following the clue from old code. There are 
many places in the code base where tabs and
spaces are used interchangeably. This rule basically

1) Can create ambiguity when both tabs and spaces exist
2) Cause bad code style to just worsen, since you would just follow the 
old coding style

But I understand the vote is over, and I actually voted +1 :), and the 
other points that were
delved upon seemed quite reasonable.

Narayanan
> Well there were quite a few rumblings during the vote so I am not 
> totally sure it passed or at least that consensus was reached.
> Here is the summary.
> http://www.nabble.com/Re%3A--VOTE---Approve-coding-conventions-for-the-Derby-project-p5840119.html

>
>
>
> Kathey
>
>


Mime
View raw message