This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: religious wars


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]