home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / arch / 10408 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  1.6 KB

  1. Xref: sparky comp.arch:10408 comp.lang.misc:3491
  2. Newsgroups: comp.arch,comp.lang.misc
  3. Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!mhcoffin
  4. From: mhcoffin@tolstoy.uwaterloo.ca (Michael Coffin)
  5. Subject: Re: Hardware Support for Numeric Algorithms
  6. In-Reply-To: glew@pdx007.intel.com's message of 4 Nov 92 15:26:29 GMT
  7. Message-ID: <MHCOFFIN.92Nov5075939@tolstoy.uwaterloo.ca>
  8. Sender: news@watserv1.uwaterloo.ca
  9. Organization: Dept. of Computer Science, University of Waterloo
  10. References: <1992Oct21.150430.29189@rtsg.mot.com>
  11.     <BwIwEB.J1A@mentor.cc.purdue.edu>
  12.     <CLIFFC.92Oct22082750@athene.rice.edu>
  13.     <1992Oct22.144843.3236@cis.uab.edu>
  14.     <1992Oct22.163955.12161@newshost.lanl.gov>
  15.     <GLEW.92Nov4072629@pdx007.intel.com>
  16. Date: Thu, 5 Nov 1992 12:59:39 GMT
  17. Lines: 16
  18.  
  19. In article <GLEW.92Nov4072629@pdx007.intel.com> glew@pdx007.intel.com (Andy Glew) writes:
  20. > Emphasize. As usual, Knuth is an arbiter of good taste in programming
  21. > style. For example, his example of programming state machines with gotos
  22. > is cleaner than the usual case state/variable structure.  His suggestion of 
  23. > never allowing fallthrough into a label often clarifies code.
  24.  
  25. I don't disagree that occasionally gotos are cleaner than the
  26. available alternatives, but I wouldn't call Knuth an arbiter of good
  27. taste in programming style.  On the one hand, TeX the program is
  28. clearly written and contains some beautiful algorithms.  On the
  29. other hand, TeX the language is a wretched mess---it's almost
  30. impossible to write clear code in TeX.  So I'd say Knuth's record on
  31. programming style is very mixed.
  32.  
  33. -mike
  34.  
  35.