tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: style change: explicitly permit braces for single statements



On Sun, Jul 12, 2020 at 10:01:36AM +1000, Luke Mewburn wrote:
 > I propose that the NetBSD C style guide in to /usr/share/misc/style
 > is reworded to more explicitly permit braces around single statements,
 > instead of the current discourgement.

concur

Really, there should always be braces unless the entire thing is only
one line, and we don't (and shouldn't) allow the latter.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index