[PATCH] Unbound alloca in crypt routines
Roland McGrath
roland@hack.frob.com
Thu Mar 29 18:13:00 GMT 2012
> Would you agree or disagree that the normal GNU style of leaving out
> braces makes code easier or harder to maintain in the long run, given
> your experience?
I prefer the established style. It's easy to tell that the clause is only
one statement by the lack of braces. Each pair of superfluous braces
wastes two lines, making less code visible on the screen vertically. Each
level of superfluous braces adds a superfluous level of indentation, moving
more code to the right and eventually making it harder to fit a statement
on a line. When a single statement needs to be replaced with a block, it's
trivial to reindent the old line and any comment lines before it.
Thanks,
Roland
More information about the Libc-alpha
mailing list