On Tue, Nov 30, 2010 at 8:32 AM, Benoit Chesneau <bchesn...@gmail.com> wrote: > On Tue, Nov 30, 2010 at 1:50 PM, Jan Lehnardt <j...@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. >> We agreed on two spaces early on: >> >> http://wiki.apache.org/couchdb/Coding_Standards >> >> Coding standards are not to find the best one, but to pick one and >> stick to it. >> > Coding standard are here to make the code more easy to share *between* > developers, this isn't just a convention. Sorry to disagree with the 2 > spaces indentation. I agree with Jan -- we should stick with those coding standards. Gabriel