On Mon, Dec 6, 2010 at 6:05 PM, Gabriel Farrell <[email protected]> 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 >
> 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
