From owner-freebsd-chat Tue Jan 23 5:14: 3 2001 Delivered-To: freebsd-chat@freebsd.org Received: from shellyeah.org (zippy.shellyeah.org [140.186.112.25]) by hub.freebsd.org (Postfix) with SMTP id 392AF37B404 for ; Tue, 23 Jan 2001 05:13:46 -0800 (PST) Received: (qmail 8242 invoked by uid 0); 23 Jan 2001 13:13:45 -0000 Received: from zippy.shellyeah.org (jcm@140.186.112.25) by zippy.shellyeah.org with SMTP; 23 Jan 2001 13:13:45 -0000 Date: Tue, 23 Jan 2001 08:13:44 -0500 (EST) From: Jonathon McKitrick To: Stephen McKay Cc: j mckitrick , chat@freebsd.org Subject: Re: silly C style question In-Reply-To: <200101231023.f0NANZI18506@dungeon.home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > PS The full justification for disagreeing with most of the civilised > world can be yours for the price of an enquiring email. Okay, I'm game. Reply in private if you like. :) > > PPS `0 == i' is so clearly wrong I can't explain it further. I was taught to use this so accidentally putting if (0 = i) generates and error, while if (i = 0) generates a bug. > PPPS The official GNU style is the ugliest I've ever seen, and it's > hard to imagine a worse one. Glad you didn't bring it up here. Hideous. Two levels of indentation when one will do the job. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message