home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / std / c / 2981 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.std.c
  2. 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
  3. From: diamond@jit345.bad.jit.dec.com (Norman Diamond)
  4. Subject: Re: A declarations without any declarators.
  5. Message-ID: <BxAKJ8.Iu7@jrd.dec.com>
  6. Sender: usenet@jrd.dec.com (USENET News System)
  7. Nntp-Posting-Host: jit345
  8. Reply-To: diamond@jit.dec.com (Norman Diamond)
  9. Organization: Digital Equipment Corporation Japan , Tokyo
  10. References: <1992Nov6.013858.736@netcom.com>
  11. Date: Fri, 6 Nov 1992 11:13:56 GMT
  12. Lines: 19
  13.  
  14. In article <1992Nov6.013858.736@netcom.com> rfg@netcom.com (Ronald F. Guilmette) writes:
  15. >Can we all agree that:
  16. >    typedef float;
  17. >... violates the first constraint in section 3.5?
  18.  
  19. I can agree, but ALL of us?  Good luck  :-)
  20.  
  21. >Good.  Now what about these odd looking declarations:
  22. >    typedef struct S;
  23. >    typedef enum { red, green, blue };
  24. >It appears that these are standard conforming, yes?
  25.  
  26. Yup.  There's a famous line saying something like, rules that would prohibit
  27. ugly code would also prohibit good code.  Now this raises the question of
  28. why the first constraint in section 3.5 is there in the first place.
  29. --
  30. Norman Diamond       diamond@jit081.enet.dec.com
  31. If this were the company's opinion, I wouldn't be allowed to post it.
  32. "It's been a lovely recession."
  33.