I like spaces between almost all semantic elements in my C code.
Thus I prefer
if ( ( foo = bar ( arg1, arg2, arg3 ) ) == NULL ) {
printf ( "Error 42" );
}
to
if((foo=bar(arg1,arg2,arg3))==NULL){
printf("Error 42");
}
Is there a C beautifier around (unix platform) that can do this?
It takes a seriously smart beautifier 'cos it has to leave function
macros alone.