Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 25751 invoked from network); 6 Dec 2010 17:33:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Dec 2010 17:33:31 -0000 Received: (qmail 18302 invoked by uid 500); 6 Dec 2010 17:33:31 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 18133 invoked by uid 500); 6 Dec 2010 17:33:31 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 18123 invoked by uid 99); 6 Dec 2010 17:33:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 17:33:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 17:33:24 +0000 Received: by iwn37 with SMTP id 37so14870735iwn.11 for ; Mon, 06 Dec 2010 09:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=b4gMFboRctuoUcbrosLnA3ObhWvtUNO6OU8/8toKZR0=; b=PM/4dbFsKnV34lSf84o4nxvvNowX581ygONgRt351UhA/LekzpqPFbovOMTXDa+Mht B7dqlzrdZNp3cmt7IJLB9ddkNF9rUETQJObRhbax8rr1Zvj4bcAl/h68BY6xVib46hmC CRxrwetyob5mQ5aHwmaouFqJ/7Q7T8cxVr82s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=sdalDEBY3ItQqmd5kLAwD4YvMHQVP8toypJgZoVIFCz1FuM6xJSYxzUN0MAMdDx1Rh +iVpzjinv546cfdCTOw0kQMAQ51E56zBgC0bsJ4B0GY7UWCMf5Q8CxZnHWLSdU/NlcAT QZlqj1UFQT/4S5MgvPHnnXHXs16VI3Nih3ZeM= MIME-Version: 1.0 Received: by 10.231.34.2 with SMTP id j2mr6255257ibd.86.1291656782878; Mon, 06 Dec 2010 09:33:02 -0800 (PST) Received: by 10.231.24.201 with HTTP; Mon, 6 Dec 2010 09:33:02 -0800 (PST) In-Reply-To: References: Date: Mon, 6 Dec 2010 18:33:02 +0100 Message-ID: Subject: Re: use view functions to emit changes From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Dec 6, 2010 at 6:05 PM, Gabriel Farrell wrote: > On Tue, Nov 30, 2010 at 8:32 AM, Benoit Chesneau wr= ote: >> On Tue, Nov 30, 2010 at 1:50 PM, Jan Lehnardt wrote: >>> On 30 Nov 2010, at 13:05, Benoit Chesneau wrote: >>>> About the 2 spaces >>>> in js, imo we should go to a 4 spaces indentations, which is a way >>>> more readable and more common. (Mozilla uses that rule.) > > The Mozilla Coding Style document recommends 2 spaces. > https://developer.mozilla.org/En/Developer_Guide/Coding_Style#Indentation > > Google also recommends 2-space indents. > http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=3D= Spaces_vs._Tabs#Spaces_vs._Tabs > > I agree with Jan -- we should stick with those coding standards. > > Mozilla don't follow it scoding standard in some projects for a reason though. 2 spaces is a pretty bad standard when you have to read/review code. - beno=EEt