qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [7234] Use a more natural order


From: Blue Swirl
Subject: Re: [Qemu-devel] [7234] Use a more natural order
Date: Thu, 23 Apr 2009 22:01:43 +0300

On 4/23/09, Lennart Sorensen <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]