qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Document Qemu coding style


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] Document Qemu coding style
Date: Mon, 30 Mar 2009 22:54:58 +0300
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Blue Swirl wrote:
 +4. Block structure
 +
 +Every indented statement is braced; even if the block contains just one
 +statement.

I'd remove this, braces are not used consistently for one statement blocks.


While that's true, I'd like to keep this. I found (after initially being annoyed by this; I dislike punctuation) that it's nice not to need to rebrace after adding or removing lines.


--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]