Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Mar 2002 08:42:22 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Mike Meyer" <mwm-dated-1015832287.8470f8@mired.org>
Cc:        "Mike Meyer" <mwm-dated-1015831171.a21ab0@mired.org>, obrien@FreeBSD.ORG, Giorgos Keramidas <keramida@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: RFC: style(9) isn't explicit about booleans for testing. 
Message-ID:  <90228.1015400542@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 06 Mar 2002 01:38:06 CST." <15493.51038.957711.450030@guru.mired.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <15493.51038.957711.450030@guru.mired.org>, "Mike Meyer" writes:
>Poul-Henning Kamp <phk@critter.freebsd.dk> types:
>> In message <15493.49923.458997.98416@guru.mired.org>, "Mike Meyer" writes:
>> >David O'Brien <obrien@freebsd.org> types:
>> >> On Wed, Mar 06, 2002 at 02:08:07AM +0200, Giorgos Keramidas wrote:
>> Now, IFF the C language had a type called "boolean" that would make
>> a lot of sense.
>
>So you're advocating that the rule be dropped.

I'm advocating that the rule focus on readability rather than trying
to enforce a type which doesn't exist.

Type-enforcement is a task for the compiler, not for a manpage.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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?90228.1015400542>