Re: CVS: commit dom abiword-plugins/tools/abicommand/xp AbiCommand.cpp

From: Dom Lachowicz <domlachowicz_at_yahoo.com>
Date: Sun Oct 23 2005 - 02:54:28 CEST

> *) Using spaces instead of tabs sucks massively when
> you don't have an
> editor to do that easily (yes, i use those over
> terminals from time to
> time)
>
> *) Nothing can justify b0rked indentation like
>
> if (foo)
> {
> if (bar)
> {
> }
> }

I'll agree with these 2 (but definitely not your "95%"
assertion - I strongly doubt that there is a *single*
file in the source tree that conforms to the style
guidelines). If you can produce a set of indent
options that closely approximates the style
guidelines, I'll use those. I suggest something like
the following as an approximation:

indent -bad -bap -bbb -bbo -bc -bl -bli0 -bls -nprs
-pcs -sob -ts4 -ut -sc -cs -di1 -i4 $1

Suggestions are welcome.

Indention and arguments about indentation distract
from real work, guys. Which is why coding guidelines
not reproducible by "indent" are inherently broken.

Best,
Dom

                
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Received on Sun Oct 23 02:55:24 2005

This archive was generated by hypermail 2.1.8 : Sun Oct 23 2005 - 02:55:24 CEST