Stripping of whitespaces at the end of lines

Dimitrie O. Paun dimi at bigfoot.com
Wed May 29 11:57:43 CDT 2002


On May 29, 2002 12:45 pm, jon at 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.




More information about the wine-devel mailing list