On May 19, 2009, at 9:53 PM, David Brownell wrote:
On Tuesday 19 May 2009, Rick Altherr wrote:We, as a community, seem to have adopted C99. As such, using C99 style declarations inside a block is fine. In some cases it can really simplify the flow of the code.In that case let's make the declarations stand out properly code doing work morecode morework decl codecode code is hiding things relative to the usual "split decls from code with blank lines" policy. Make such decls stand out properly: no less than they do at the beginning of a block. And by the way, there's no way it can simplify code flow, since declarations don't *change* code flow at all.
Sure. I'm all for adding blank lines before and after any block of declarations. To pick nits, it doesn't change the control or data flow, but it _does_ change the code flow. Code flow is the readability and clarity of the code. Good code flow means that user can understand what is happening in the algorithm.
-- Rick Altherr kc8...@kc8apf.net"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development