From: Michael Witten Date: Thu, 21 Apr 2011 12:57:38 GMT Subject: Re: Tabs and spaces Message-ID: <3d145d51-e76d-44c7-b9b2-7b48c14b6043-mfwitten@gmail.com> In-Reply-To: On Thu, Apr 21, 2011 at 10:46, Alex Riesen wrote: > On Thu, Apr 21, 2011 at 05:25, Thiago Farina wrote: >> On Thu, Apr 21, 2011 at 12:15 AM, Michael Witten wrote: >>>> 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.