Hi, On Tue, 08 Mar 2005 16:31:15 +0100, Chet Ramey wrote: ... > > for (passc = 0; c = string[i]; i++) > > > > This could more readably be written: > > > > for (passc = 0; (c = string[i]) != '\0'; i++) ... > No, the former is my preferred style. The latter is less readable and > reduces clarity.
What about some compromise: for (passc = 0; (c = string[i]); i++) If you use the first style you do need to always use -Wno-parentheses . It has also further implications which may not be wised. :-? Regards, Lace _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash