Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2002 10:09:18 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Mike Meyer <mwm-dated-1015842633.bc6005@mired.org>, Mike Meyer <mwm-dated-1015831171.a21ab0@mired.org>, Giorgos Keramidas <keramida@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: RFC: style(9) isn't explicit about booleans for testing.
Message-ID:  <20020306100918.A1093@dragon.nuxi.com>
In-Reply-To: <30203.1015411062@critter.freebsd.dk>; from phk@critter.freebsd.dk on Wed, Mar 06, 2002 at 11:37:42AM %2B0100
References:  <15493.61384.557931.883967@guru.mired.org> <30203.1015411062@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 06, 2002 at 11:37:42AM +0100, Poul-Henning Kamp wrote:
> Ahh, but here you hit one of my pet-peeves.  I hate assignments inside
> conditionals.  I prefer the above written as:

It does not matter.  Style(9) does not [intentionally] avoid PHK's pet
peeves.  It documents the style used by the CSRG with some
modernizations.  All this "IMO" does not matter as much as showing actual
code examples from /sys.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020306100918.A1093>