Re: Lindent fixed to match reality

Eric W. Biederman
2004-01-30T21:15:39Z

David Weinehall <tao@acc.umu.se> writes:

> On Thu, Jan 29, 2004 at 01:37:28PM -0600, Matt Mackall wrote:
> > I've been fiddling with cleaning up some old code here and suggest the
> > following to make Lindent match actual practice more closely. This does:
> >
> > a) (no -psl)
> >
> > void *foo(void) {
> >
> > instead of
> >
> > void *
> > foo(void) {
> >
> > b) (no -bs) "sizeof(foo)" rather than "sizeof (foo)"
>
> I can't really see the logic in this, though I know a lot of people do
> it. I try to stay consistent, thus I do:

If consistency was good in a language we would all be using
an RPL or s-expr based language. Communication is clearer
with redundant information. Making special cases of common
cases is a good thing.

Eric