Re: [PATCH] Make git-clean a builtin
On Wed, 2007-11-07 at 07:29, Bill Lear wrote:
Show 22 quoted lines
> On Wednesday, November 7, 2007 at 11:10:45 (+0000) Johannes Schindelin writes:
> >Hi,
> >
> >you still have quite a number of instances where you wrap just one line
> >into curly brackets:
> >
> > if (bla) {
> > [just one line]
> > }
>
> I've always found this a thoughtful practice. It helps ensure nobody writes:
>
> if (bla)
> just_one_line();
> /* perhaps a comment, other stuff ... */
> just_another_line();
>
> which I've seen happen countless times. It also is nice for others who
> come along and extend the branch from just one line to multiple ones,
> as the brackets are already in place.
>
> Why do you find it objectionable?I _totally_ agree with Bill.
jdl