home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!decuac!pa.dec.com!jrdzzz.jrd.dec.com!jit345.bad.jit.dec.com!diamond
- From: diamond@jit345.bad.jit.dec.com (Norman Diamond)
- Subject: Re: A declarations without any declarators.
- Message-ID: <BxAKJ8.Iu7@jrd.dec.com>
- Sender: usenet@jrd.dec.com (USENET News System)
- Nntp-Posting-Host: jit345
- Reply-To: diamond@jit.dec.com (Norman Diamond)
- Organization: Digital Equipment Corporation Japan , Tokyo
- References: <1992Nov6.013858.736@netcom.com>
- Date: Fri, 6 Nov 1992 11:13:56 GMT
- Lines: 19
-
- In article <1992Nov6.013858.736@netcom.com> rfg@netcom.com (Ronald F. Guilmette) writes:
- >Can we all agree that:
- > typedef float;
- >... violates the first constraint in section 3.5?
-
- I can agree, but ALL of us? Good luck :-)
-
- >Good. Now what about these odd looking declarations:
- > typedef struct S;
- > typedef enum { red, green, blue };
- >It appears that these are standard conforming, yes?
-
- Yup. There's a famous line saying something like, rules that would prohibit
- ugly code would also prohibit good code. Now this raises the question of
- why the first constraint in section 3.5 is there in the first place.
- --
- Norman Diamond diamond@jit081.enet.dec.com
- If this were the company's opinion, I wouldn't be allowed to post it.
- "It's been a lovely recession."
-