Boolean datatypes

Mike Wexler mike at peregrine.UUCP
Wed Jun 18 06:43:36 AEST 1986


In article <210 at pyuxv.UUCP> cim2 at pyuxv.UUCP (Robert L. Fair) writes:
>Many current C compilers now implement enums properly (i.e. each enumeration
>is a distinct type) yet they are hardly ever used. Any comments why not ?
There are(at least) two reasons.  First, a lot of people don't know that 
there c compiler has enum types since they have a C compiler thats uses
k&r as the manual and k&r doesn't describe enum types.  Second, they would
limit the portability of the application since enum types are not yet 
universal.  I think that the ANSI standard will help solve both of these
problems since the new standard document describing the language will describe
enum's(they are in the standard, aren't they?) and compiler writers will 
have more incentive to support this feature.  Not being ANSI compatible will
cause a compiler writer to receive many complaints(and probably less sales).


-- 
Mike Wexler
Email address:(trwrb|scgvaxd)!felix!peregrine!mike
Tel Co. address: (714)855-3923
;-) Internet address: ucivax at ucbvax.BERKELY.EDU!ucivax%felix!mike at peregrine :-(



More information about the Comp.lang.c mailing list