[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Document Qemu coding style
From: |
M. Warner Losh |
Subject: |
Re: [Qemu-devel] [PATCH] Document Qemu coding style |
Date: |
Mon, 30 Mar 2009 16:16:04 -0600 (MDT) |
In message: <address@hidden>
address@hidden (Lennart Sorensen) writes:
: On Mon, Mar 30, 2009 at 09:28:54PM +0300, Blue Swirl wrote:
: > I'd remove this, braces are not used consistently for one statement blocks.
:
: Then fix that. Making the coding style worse just because some people
: have failed to follow it is not the right solution.
:
: > No, this is the K&R style. Quoting linux/Documentation/CodingStyle:
: >
: > Heretic people all over the world have claimed that this inconsistency
: > is ... well ... inconsistent, but all right-thinking people know that
: > (a) K&R are _right_ and (b) K&R are right. Besides, functions are
: > special anyway (you can't nest them in C).
:
: And Linus is wrong for not requiring braces at all times in the kernel. :)
: I don't have much hope of convincing him of that, but he is still wrong.
And this is an example of the religious nature of this argument :)
Warner
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, (continued)
Re: [Qemu-devel] [PATCH] Document Qemu coding style, Avi Kivity, 2009/03/30
Re: [Qemu-devel] [PATCH] Document Qemu coding style, Andreas Färber, 2009/03/30
Re: [Qemu-devel] [PATCH] Document Qemu coding style, Lennart Sorensen, 2009/03/30
Re: [Qemu-devel] [PATCH] Document Qemu coding style, Paul Brook, 2009/03/31