Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 66016 invoked from network); 9 Jun 2006 16:25:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 16:25:32 -0000 Received: (qmail 18357 invoked by uid 500); 9 Jun 2006 16:25:31 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18330 invoked by uid 500); 9 Jun 2006 16:25:31 -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 18312 invoked by uid 99); 9 Jun 2006 16:25:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 09:25:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rodrigo.madera@gmail.com designates 66.249.82.202 as permitted sender) Received: from [66.249.82.202] (HELO wx-out-0102.google.com) (66.249.82.202) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 09:25:30 -0700 Received: by wx-out-0102.google.com with SMTP id i31so559610wxd for ; Fri, 09 Jun 2006 09:25:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Jegau4ejyPRo5TItaLFLltkUwxn5pJidKn/gnI2V0mh0KWssT62VtT/MZCvjz8buquneIIYu4O3L5yWsuiADw3QgxuQH+JjWo2IgqlUB7fcOqQnzSMSEFqdg4BhogiAkKtuJ6jdznqI6e0Xjfz4i5vfdXwmuKu0+dizHz2Ui+kM= Received: by 10.70.53.12 with SMTP id b12mr3623753wxa; Fri, 09 Jun 2006 09:25:08 -0700 (PDT) Received: by 10.70.24.8 with HTTP; Fri, 9 Jun 2006 09:25:08 -0700 (PDT) Message-ID: <3cf983d0606090925g24aa2e07u131605d9190429e7@mail.gmail.com> Date: Fri, 9 Jun 2006 13:25:08 -0300 From: "Rodrigo Madera" To: derby-dev@db.apache.org Subject: Re: Code formatting debate, confusion and wasted time , Has it gone on long enough? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <447DA443.3000706@sbcglobal.net> <20060531191838.GB29296@localhost.localdomain> <3cf983d0605311235u2b7ebce3qdf6db491e46b0bb1@mail.gmail.com> <447DFBA5.3090500@sun.com> <447E2172.9040401@sun.com> <3cf983d0605311634r43a0fa5fj65af6adb76112aae@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N So you vote on spaces or tabs anyway? On 6/9/06, Dyre.Tjeldvoll@sun.com wrote: > Rodrigo Madera writes: > > > One thing there is to learn from all this: Set standards BEFORE the > > project starts. > > Actually, it is not that simple. Derby opted to follow Sun's java > guidline which, believe it or not, says that if tabs are used, then the > tabwidth should be 4. Which, of course, is utterly brain-dead. > > It would have been much less painful to introduce space indentation > gradually if the tabwidth had been 8, because then tab and space > indentation could have coexisted in a file without making the file > unreadable in most tools. > > A file that is consistently indented with tabs and tabwidth=4, is > better, but not much. Using tools like cat, less, diff (even svn > diff), or a2ps is a pain because every line appears wrapped and is > hard to read... (yes, I'm one of those old fools that refuse to live > my life inside an IDE). > > But files with both indentation styles is, by far, the worst. I'm so > tired of scanning my patches for places where I have accidently > tab-indented a line in a method that's space-indented, or vice > versa. This is perhaps not the most important issue in Derby, but I > think it really cuts the "joy of development" factor for Derby. And > that's not good for an open source project... > > -- > dt > >