qemu-devel@nongnu.org
[Top] [All Lists]

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

Subject: Re: [Qemu-devel] [PATCH] Document Qemu coding style
From: Lennart Sorensen
Date: Mon, 30 Mar 2009 19:38:53 -0400
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.

> 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.

-- 
Len Sorensen


<Prev in Thread] Current Thread [Next in Thread>