couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <fdman...@apache.org>
Subject Re: use view functions to emit changes
Date Mon, 06 Dec 2010 17:11:51 GMT
Crockford, JavaScript's ChuckNorris:

http://javascript.crockford.com/code.html



On Mon, Dec 6, 2010 at 5:10 PM, Volker Mische <volker.mische@gmail.com> wrote:
> On 06.12.2010 18:05, Gabriel Farrell 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
>>
>> Also, both jQuery and Node use 2-space indentation.
>
> jQuery uses 1-tab indentation.
>
> Cheers,
>  Volker
>



-- 
Filipe David Manana,
fdmanana@gmail.com, fdmanana@apache.org

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Mime
View raw message