style(9) question

Colin Percival cperciva at freebsd.org
Thu Mar 2 16:51:10 GMT 2006


Robert Watson wrote:
> I can't really think of a good reason
> for return (foo) over return foo

I'm not sure if this qualifies as a *good* reason, but
writing "return (foo)" is more consistent with other
keyword usage: "if (foo)", "for (foo)", "while (foo)",
"switch (foo)".

Colin Percival



More information about the freebsd-current mailing list