religious wars
Matthew Woehlke
mw_triad@users.sourceforge.net
Mon Jun 11 20:09:00 GMT 2007
Dave Korn wrote:
> [snip]
> ... because although I really dislike the ...
>
> if( arg )
> x = FuncCall( arg );
Ok, I guess I'll avoid starting a war here. But, IMO the second line is
right, and the first line should be 'if ( arg )' :-).
That said, C != English. IMO they are allowed to have different rules
for where to put spaces. (And... perhaps some people whose native
language != English find the GNU coding style broken for the same
reasons you think the alternatives are broken :-).)
> It does lead me to wonder, though, if there isn't a market for a cross
> between CVS and GNU indent that transforms the code on check-out and check-in,
> so that anyone who checks out a sandbox gets the files formatted in their own
> favourite style, and can write code however they most prefer, and everyone
> else sees it in /their/ own favourite style, and nobody even has to know or
> care what the actual underlying format looks like at all.
You mean 'astyle'? :-)
/me starts whistling "Triangle Man", as it seems appropriate.
--
Matthew
Ngx iqct zgg dxei zodt gf ngxk iqfrl.
More information about the Cygwin-talk
mailing list