Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 80872 invoked from network); 16 Aug 2006 00:20:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2006 00:20:54 -0000 Received: (qmail 93860 invoked by uid 500); 16 Aug 2006 00:20:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 93825 invoked by uid 500); 16 Aug 2006 00:20:53 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 93816 invoked by uid 99); 16 Aug 2006 00:20:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 17:20:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.182.143] (HELO e3.ny.us.ibm.com) (32.97.182.143) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 17:20:52 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k7G0KSoJ020467 for ; Tue, 15 Aug 2006 20:20:28 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k7G0KSSf283144 for ; Tue, 15 Aug 2006 20:20:28 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k7G0KSGi005442 for ; Tue, 15 Aug 2006 20:20:28 -0400 Received: from [127.0.0.1] (dyn9-72-133-118.usca.ibm.com [9.72.133.118]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k7G0KRsF005402 for ; Tue, 15 Aug 2006 20:20:27 -0400 Message-ID: <44E264C4.8060608@sbcglobal.net> Date: Tue, 15 Aug 2006 17:20:20 -0700 From: Mike Matrigali Reply-To: mikem_app@sbcglobal.net User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [VOTE] Approve coding conventions for the Derby project References: <44DD185F.8010808@sbcglobal.net> In-Reply-To: <44DD185F.8010808@sbcglobal.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N my vote:-0 I continue to struggle with this issue. I don't think we should reformat the style of all the existing code, it is going to cause merge hell. But if we don't why vote yes for this proposal as then it is just a lie saying " Derby uses the "Code Conventions for the Java Programming Language" (http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html) ... ". So I am unclear on what I am voting on. Is it just the following code convention is a perfectly acceptable way to submit derby code, as well there might be others? I haven't voted -1 as I don't have a better suggestion for a standard, other than the code in a file should be clear and consistent. Even things I particularly don't like, like 80+ character lines are sometimes more clear than hoops to make them less than 80 character. I do think the space/tab issue causes headaches. We could just document it, but I actually think we should reformat the code with respect to tabstop and just move to spaces. I wish we were attacking the root problems causing people pain up front. What I see as problems are: 1) space/tab issue is causing problems. Some tools just don't like 4 space tabs. 2) do not make review/commit job harder by doing format changes along with "real" code changes. Kathey Marsden wrote: > This is a vote to define the coding conventions for the Derby project > per the db project guidelines http://db.apache.org/source.html > Vote closes 10:00am, Wednesday, August 15. > > [+1] Adopt the coding convention described. > [-1 ] Do not adopt the coding convention described. > > The conventions outlined below will be published on the wiki page > http://wiki.apache.org/db-derby/DerbyContributorChecklist > > Derby uses the "Code Conventions for the Java Programming Language" > (http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html) with these > amendments: > - space indentation (no tabs). > - Derby does not discourage deferring variable declaration to the first > use. > - Lines should be limited to 80 characters > - @author tags should not be used at all > > Note: There is a great deal of existing code that does not match this > convention. Changes to existing code should match the surrounding code > for readability, matching tabs or spaces as appropriate (see Tabs) . > Patches should not have white space diffs. Code and diffs should be > readable in context. > > > > >