From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lx4BC-0006S7-0W for qemu-devel@nongnu.org; Thu, 23 Apr 2009 15:01:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lx4B7-0006PH-F6 for qemu-devel@nongnu.org; Thu, 23 Apr 2009 15:01:49 -0400 Received: from [199.232.76.173] (port=46894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lx4B7-0006Oz-3V for qemu-devel@nongnu.org; Thu, 23 Apr 2009 15:01:45 -0400 Received: from mail-fx0-f171.google.com ([209.85.220.171]:34045) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lx4B6-00041D-GT for qemu-devel@nongnu.org; Thu, 23 Apr 2009 15:01:44 -0400 Received: by fxm19 with SMTP id 19so729422fxm.34 for ; Thu, 23 Apr 2009 12:01:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090423185308.GH3795@csclub.uwaterloo.ca> References: <20090423185308.GH3795@csclub.uwaterloo.ca> Date: Thu, 23 Apr 2009 22:01:43 +0300 Message-ID: Subject: Re: [Qemu-devel] [7234] Use a more natural order From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lennart Sorensen Cc: qemu-devel@nongnu.org On 4/23/09, Lennart Sorensen wrote: > On Thu, Apr 23, 2009 at 06:29:47PM +0000, Blue Swirl wrote: > > > Revision: 7234 > > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7234 > > Author: blueswir1 > > Date: 2009-04-23 18:29:47 +0000 (Thu, 23 Apr 2009) > > Log Message: > > ----------- > > Use a more natural order > > > It may be more natural, but it is also less safe. > > After all > > if (0 = x) { > > fails compile, while > > if (x = 0) { > > compiles silently even when you didn't mean that. True, but it's not the style that is used here. You are of course free to argue for using this version and even submit patches. > Some people also think month/day/year is more natural as a date format, > but it is confusing and impractical to actually use. We humans also tend to use base 10 arithmetic and infix notation despite their well known shortcomings.