home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13509 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.7 KB

  1. Path: sparky!uunet!iphasew!igor!thor!rmartin
  2. From: rmartin@thor.Rational.COM (Bob Martin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: GOTO, was: Tiny proposal for na
  5. Message-ID: <rmartin.716169568@thor>
  6. Date: 10 Sep 92 23:59:28 GMT
  7. References: <714668024@thor> <6800007@tisdec.tis.tandy.com> <1992Aug26.130335.26725@hemlock.cray.com> <1992Aug26.194538.1598@spss.com> <rmartin.714931485@thor> <1992Sep1.192043.16224@mksol.dseg.ti.com> <rmartin.715445973@thor> <1992Sep2.215323.4560@lucid.com> <rmarti
  8. Sender: news@Rational.COM
  9. Lines: 27
  10.  
  11. mccall@mksol.dseg.ti.com (fred j mccall 575-3539) writes:
  12.  
  13. |In <rmartin.715527587@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
  14.  
  15. |>The principles of structured programming were an important advance in
  16. |>the science of software engineering.  Those principles are still valid
  17. |>today as a guide to structure the implementation of our methods.   We
  18. |>should not forget them, and if they are in question, then we should
  19. |>discuss them.
  20.  
  21. |There!  You used the key word.  GUIDE.  Not "hard and fast rule".  Not
  22. |"cast in concrete, GOTO is the ultimate evil".  GUIDE.
  23.  
  24. |Now if only the rest of your notes reflected that use of the word
  25. |'guide', rather than treating structured programming as if it was
  26. |carved on stone tablets and handed down from the mountain.
  27.  
  28. I have repeatedly stated that physical need outweighs design
  29. principles.  If you must use gotos, or global variables, or any of the
  30. other evils of software, in order to fulfill the requirements, then
  31. do so, and without hesitation.
  32.  
  33. --
  34. Robert Martin                        Training courses offered in:
  35. R. C. M. Consulting                       Object Oriented Analysis
  36. 2080 Cranbrook Rd.                        Object Oriented Design
  37. Green Oaks, Il 60048 (708) 918-1004       C++
  38.