incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: use view functions to emit changes
Date Mon, 06 Dec 2010 17:33:02 GMT
On Mon, Dec 6, 2010 at 6:05 PM, Gabriel Farrell <gsf747@gmail.com> wrote:
> On Tue, Nov 30, 2010 at 8:32 AM, Benoit Chesneau <bchesneau@gmail.com> wrote:
>> On Tue, Nov 30, 2010 at 1:50 PM, Jan Lehnardt <jan@apache.org> 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=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Ʈt

Mime
View raw message