Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 08:13:44 -0500 (EST)
From:      Jonathon McKitrick <jcm@shellyeah.org>
To:        Stephen McKay <mckay@thehub.com.au>
Cc:        j mckitrick <jcm@FreeBSD-uk.eu.org>, chat@freebsd.org
Subject:   Re: silly C style question 
Message-ID:  <Pine.GSO.4.21.0101230810290.7653-100000@zippy.shellyeah.org>
In-Reply-To: <200101231023.f0NANZI18506@dungeon.home>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0101230810290.7653-100000>