On May 29, 2002 12:45 pm, jon@siliconcircus.com wrote:
On Wed, 29 May 2002, Dimitrie O. Paun wrote:
Sorry, this does not work. People _will_ use spaces, and so having the tab
If you think people will use spaces, no matter what you specify, then you might as well give up making any kind of standard at all. If you're both expecting people to ignore your standard and not willing to rigorously enforce it, don't bother going to the effort of making it.
Enforcing 'no space before the non-blank char on every line' is orders of magniture more difficult than 'indentation is 4 space' (which, BTW, most people use anyhow). On top of it, what do you gain? A dubious benefit of being able to see the code at a different indentation level, which can NOT work anyway. If you've ever tried it, you would realize that it's a silly idea.
Example: if ( blah & blah & ... aaaa & bbbb & ...)
How do you nicely align the "aaaa & bbbb & ..." line below the "blah & blah & ..." using only tabs? Aha, so you have to use spaces!
So the rules are complicated, who do you think will follow them? And for what???
-- Dimi.