begin quoting Gabriel Sechan as of Wed, Jan 02, 2008 at 05:46:17PM -0600:
> ----------------------------------------
> > Date: Wed, 2 Jan 2008 15:36:23 -0800
> > From: [EMAIL PROTECTED]
> > To: [email protected]
> > Subject: Re: Introducing Cobra
> >
> > Gabriel Sechan wrote:
...it's kind of hard to follow the attributions when they change style
so drastically. I thought I had accidently deleted an attribution line.
:/
[snip]
> > You need to get out more. If I had a dime for every time I've seen this
> > crud:
> >
> > if (blah)
> > doSomething();
> > doSomethingElse();
> >
> > In some C code, I'd be retired.
>
> Admittedly a problem, not what I was thinking of in that argument. C
> made a mistake, it should have required {} everwhere like Perl does.
> Most good programmers use them for every block, even one liners,
> already.
What Gabe said. (See! Reading further downthread saves effort.)
When I see
if ( blah )
doSomething();
blah();
I either fix it, or I harass the author about it until they fix it.
--
So far nobody in the anti-whitespace camp has argued for implicit blocks
If they did, of course, we'd rough 'em up, then throw them off some docks
Stewart Stremler
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg