Re: Tabs and spaces
From: Michael Witten <hidden>
Date: 2016-06-15 22:51:04
On Thu, Apr 21, 2011 at 10:46, Alex Riesen [off-list ref] wrote:
On Thu, Apr 21, 2011 at 05:25, Thiago Farina [off-list ref] wrote:quoted
On Thu, Apr 21, 2011 at 12:15 AM, Michael Witten [off-list ref] wrote:quoted
quoted
Oh, I still think a tabstop of 2 is insane (for various reasons, some explained in the thread you mentioned).tabstop of 2 is what we use on Chromium code (with spaces, no tabs).It's indentation. You indent your code by 2 space. It has nothing to do with tabstop.
In this discussion, it has everything to do with the tabstops (1235e29d-6cbb-445b-9b6f-4e174c03ba8f-mfwitten@gmail.com):
Again, it should be recognized that there are 2 issues:
* Indentation : This *can* be implemented with tabs
* Alignment : This *should* be implemented with only spaces
and it should also be recognized that treating tabs as a primitive
means of space-saving compression by having it always represent
some constant number of spaces (8) is just as flaky as expecting
people to properly use spaces for alignment; thus you might as
well go for the latter in order to get the best of both worlds,
because somebody is going to mess it up either way.