style(9) question

Dmitry Pryanishnikov dmitry at atlantis.dp.ua
Thu Mar 2 09:06:43 GMT 2006


Hello!

   I apologize for asking here my question (it should belong to -questions,
but the most developers are available here, and I just hope it won't hurt).
What's the historical reason of the following style(9) advise:

 	Values in return statements should be enclosed in parentheses.

What's the rationale of this? From time to time I see small commits
just changing "return foo;" -> "return (foo);". I think the first form
is quite natural and not ambiguous. Shouldn't we remove this advise from 
style(9)?

Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry at atlantis.dp.ua
nic-hdl: LYNX-RIPE


More information about the freebsd-current mailing list