[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Document Qemu coding style
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] Document Qemu coding style |
Date: |
Tue, 31 Mar 2009 13:47:34 +0000 |
User-agent: |
KMail/1.9.9 |
> +2. Line width
> +
> +Lines are 80 characters wide plus some slop. Try to fit your code into
> +eighty characters, but if it makes a snippet particularly ugly, allow
> +yourself some slack. Don't overdo it though.
I'd remove the "plus some slop". My guess is that most people using a
non-graphical editor (and probably many of those using graphical variants of
vi/emacs) still wrap at 80 characters. If you can't find a convenient place
to break the line, then maybe you're doing something else wrong (e.g. using
40-character variable names :-)
Other than that, looks ok.
Paul
- 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 <=