This thread is full of fucking 13 year old shit people. Why has nobody even named a coding style yet?
K&R for life
if(x)
error: line 1: expected SEP
>>7
Perhaps toy examples like that, but for actual expressions I will refer you to:
>>10
but ignore:
decimal points/other things that could be mistaken as a comma
Try also (with reasoning):
if (x) { /* syntax highlighting does not leave 'if' unnoticed, even when set apart from the condition */
if ( long && expression && here ); /* Spaces keep parentheses separate from each part of the condition, try also putting each part on a separate line indented the same amount */
}
function (butt); /* here you are doing 'function' to 'butt' */
many_params( "suck my shit", 0, 6, NULL ); /* here you are taking these many things and putting them into 'many_params', the immediate open parenthesis denotes its role as function; notice also comma, space as in written language */