Re: style(9) question

From: Colin Percival <cperciva_at_freebsd.org>
Date: Thu, 02 Mar 2006 08:50:53 -0800
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
Received on Thu Mar 02 2006 - 15:51:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:53 UTC