Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2006 08:50:53 -0800
From:      Colin Percival <cperciva@freebsd.org>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>, freebsd-current@freebsd.org
Subject:   Re: style(9) question
Message-ID:  <4407226D.3050901@freebsd.org>
In-Reply-To: <20060302163633.H77029@fledge.watson.org>
References:  <20060302105229.P83093@atlantis.atlantis.dp.ua> <20060302163633.H77029@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4407226D.3050901>