[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 18:09:33 -0600 (MDT) |
In message: <address@hidden>
address@hidden (Lennart Sorensen) writes:
: On Mon, Mar 30, 2009 at 04:15:14PM -0600, M. Warner Losh wrote:
: > With editors like emacs, this isn't an issue.
:
: Who gives a @#$ what emacs does.
:
: > Because it stretches the code vertically. More extra useless 'blank'
: > lines makes it harder to get more code on the screen, which makes the
: > code harder to understand.
:
: So what? Compared to the bugs this often causes, go buy a bigger screen.
When used with emacs, the number of bugs introduced is about nil,
while the bugs introduced through lack of understanding of the code is
non-nil. At least that's been my experience over the past 20 years of
doing this. Your mileage may vary. Objects in mirror are closer than
they appear.
: > Anyway, this is a highly religious issue. Either you think that {}
: > are the bee's knees and people are morons that don't use them, or you
: > hate them with a huge passion and can't believe people are stupid
: > enough to require it. There's a very small set of folks in between,
: > and often little common ground: usually one camp tolerates the
: > practices of the other...
:
: I just hate the mistakes the lack of the braces cause, and they do
: cause mistakes. It is a huge mistake that C even allowed them to be
: optional in the first place. A bit late to fix that now.
Again, this is clearly a religious argument. Nobody is going to
settle it here.
Warner
- [Qemu-devel] [PATCH] Document Qemu coding style, Avi Kivity, 2009/03/29
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, malc, 2009/03/29
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, Blue Swirl, 2009/03/30
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, M. Warner Losh, 2009/03/30
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, Avi Kivity, 2009/03/30
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, Lennart Sorensen, 2009/03/30
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, M. Warner Losh, 2009/03/30
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, Lennart Sorensen, 2009/03/30
- Re: [Qemu-devel] [PATCH] Document Qemu coding style,
M. Warner Losh <=
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, Laurent Desnogues, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, David Turner, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, Avi Kivity, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, David Turner, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, Blue Swirl, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, David Turner, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, malc, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, David Turner, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, malc, 2009/03/31
- Re: [Qemu-devel] [PATCH] Document Qemu coding style, David Turner, 2009/03/31