Crockford, JavaScript's ChuckNorris:

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



On Mon, Dec 6, 2010 at 5:10 PM, Volker Mische <[email protected]> wrote:
> On 06.12.2010 18:05, Gabriel Farrell wrote:
>>
>> On Tue, Nov 30, 2010 at 8:32 AM, Benoit Chesneau<[email protected]>
>>  wrote:
>>>
>>> On Tue, Nov 30, 2010 at 1:50 PM, Jan Lehnardt<[email protected]>  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,
[email protected], [email protected]

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

Reply via email to