Time to standardize "true" and "false"

bob larson blarson at basil.usc.edu
Fri Sep 22 05:14:50 AEST 1989


In article <13730 at well.UUCP> nagle at well.UUCP (John Nagle) writes:
>
>     I would like to suggest that the time has come to standardize the
>Boolean values in C.
[...]
>     I would suggest that the standardized definition be
>	const boolean (false=0, true=1);

Why don't we just change the languae so it has this stuff built in?
Perhaps we can find a way that dosn't add more keywords to the
language... the little-known keyword "int" should be able to do
double-duty as boolean, and the keywords 0 and 1 should work just fine
as false and true.  Let's see what other changes are needed to the
languge... none.  Gee, it seems that maybe this was one of the uses
theese keywords were designed for. :-)

-- 
Bob Larson	Arpa:	blarson at basil.usc.edu
Uucp: usc!basil!blarson



More information about the Comp.lang.c mailing list