From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoRZE-0001VK-0r for qemu-devel@nongnu.org; Mon, 30 Mar 2009 20:11:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoRZ9-0001RA-Cw for qemu-devel@nongnu.org; Mon, 30 Mar 2009 20:10:59 -0400 Received: from [199.232.76.173] (port=45371 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoRZ9-0001R4-9J for qemu-devel@nongnu.org; Mon, 30 Mar 2009 20:10:55 -0400 Received: from bsdimp.com ([199.45.160.85]:61508 helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoRZ8-0005Za-Og for qemu-devel@nongnu.org; Mon, 30 Mar 2009 20:10:55 -0400 Date: Mon, 30 Mar 2009 18:09:33 -0600 (MDT) Message-Id: <20090330.180933.255407477.imp@bsdimp.com> Subject: Re: [Qemu-devel] [PATCH] Document Qemu coding style From: "M. Warner Losh" In-Reply-To: <20090330233853.GT3795@csclub.uwaterloo.ca> References: <20090330214321.GP3795@csclub.uwaterloo.ca> <20090330.161514.117919654.imp@bsdimp.com> <20090330233853.GT3795@csclub.uwaterloo.ca> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, lsorense@csclub.uwaterloo.ca In message: <20090330233853.GT3795@csclub.uwaterloo.ca> lsorense@csclub.uwaterloo.ca (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