[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indentation level in Javascript
From: |
Dmitry Gutov |
Subject: |
Re: Indentation level in Javascript |
Date: |
Sun, 09 Sep 2012 06:08:49 +0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 |
Leo <address@hidden> writes:
> On 2012-09-09 02:14 +0800, Lars Ingebrigtsen wrote:
>> According to
>>
>> http://atroche.org/post/30994290348/javascript-indentation
>>
>> the most widely used (and recommended) indentation in Javascript is two
>> spaces.
>>
>> `js-indent-level' defaults to 4. Would it make sense to change this?
>
> Quite a few programmers dislike 2 as basic offset; see
> http://news.ycombinator.com/item?id=4492532 for some good points.
Different people have different preferences, true.
How does that make using the most popular value as default a bad idea?