From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Hollebeek To: gcc@gcc.gnu.org Subject: Re: Coding convention: use of `!x' vs. `! x' Date: Fri, 22 Sep 2000 10:22:00 -0000 Message-id: <200009221636.MAA14919@cj44686-b.reston1.va.home.com> References: <200009221648.MAA04946@mal-ach.watson.ibm.com> X-SW-Source: 2000-09/msg00542.html David Edelsohn writes ... > > Richard> What about the other unary operators? Should they have a blank, like the > Richard> binary operators do, or no blank, like "!" now will? One practical advantage of using "!x" (and similar for all other unary operators) is that it is visually consistent with the C precedence rules. 5 - ~ x + 1 // less clear 5 - ~x + 1 // better // more realistic example y + * x + 1 y + *x + 1 -Tim