home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12958 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.1 KB

  1. From: kers@hplb.hpl.hp.com (Chris Dollin)
  2. Date: Thu, 27 Aug 1992 07:28:28 GMT
  3. Subject: Re: Re: GOTO, was: Tiny proposal for named loops.
  4. Message-ID: <KERS.92Aug27082828@cdollin.hpl.hp.com>
  5. Organization: Hewlett-Packard Laboratories, Bristol, UK.
  6. Path: sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!otter.hpl.hp.com!hpltoad!cdollin!kers
  7. Newsgroups: comp.lang.c++
  8. References: <714668024@thor> <6800007@tisdec.tis.tandy.com> <1992Aug26.130335.26725@hemlock.cray.com> <MATT.92Aug26122422@physics16.berkele
  9. Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
  10. Lines: 11
  11. In-Reply-To: matt@physics16.berkeley.edu's message of 26 Aug 92 12:24:22
  12. Nntp-Posting-Host: cdollin.hpl.hp.com
  13.  
  14. In article ... matt@physics16.berkeley.edu (Matt Austern) writes:
  15.  
  16.    The classic situation where gotos are generally believed to be useful
  17.    is writing a finite-state machine.
  18.  
  19. Use mutually recursive procedures, and lean on your language designers and
  20. compiler-writers until they're as efficient as the goto's would have been.
  21. --
  22.  
  23. Regards,    | "If taking devious pains was a sign of laziness, he was quite
  24. Kers.       | prepared to call Hazelton the laziest man alive." Blish (m-o-l)
  25.