[GRASS5] Towards a 5.1.0 experimental release
H Bowman
hamish_nospam at yahoo.com
Mon Jul 7 08:33:07 EDT 2003
> > > > > 1. Uniform coding style.
> > [...]
> > > > > Step 1 boils down to choosing a set of switches for the
> > > > > "indent" program, then running indent on all source files.
>
> I think that we should be more prescriptive, i.e. we should specify a
> setting for most options. Also, we should specify either -bbo or
> -nbbo, even if we don't intend to use -lN, so that authors know where
> to break long boolean expressions.
>
> FWIW, my preference would be:
>
> -nbad -bap -bbb -nbbo -nbc -bl -bli0 -bls -cbi0 -ncdb -nce -ci4 -cli0
> -ncs -d0 -di0 -fc1 -nfca -hnl -i4 -ip4 -l80 -lc80 -lp -npcs -pi4 -nprs
> -npsl -sbi0 -sc -nsob -ss -ts8
>
> However, much of that is arbitrary; I'll live with whatever is
> ultimately chosen (except -ts8; that's a technical issue rather than a
> preference).
How fool-proof is indent? Does it require checking & testing of every
converted file?
My guess would be if it does break stuff, it will probably just be
exposing existing bugs.
?
Hamish
More information about the grass-dev
mailing list