qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: CODING_STYLE


From: Amit Shah
Subject: Re: [Qemu-devel] Re: CODING_STYLE
Date: Thu, 1 Oct 2009 12:07:43 +0530
User-agent: Mutt/1.5.19 (2009-01-05)

On (Wed) Sep 30 2009 [19:02:09], Markus Armbruster wrote:
> > So ... Linux kernel style wins? What do others think?
> 
> I find certain aspects of QEMU style rather distasteful, too.  Linux
> kernel style is okay.  It can push deeply indented code far to the right
> and over the cliff, though.

The point it is that way is that if your code is indented so much that
it overflows, things are better rearranged in separate functions.

There are many such examples in qemu where splitting things off in
separate functions would make the code a lot more readable (and
maintainable).

                Amit




reply via email to

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