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

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!devnull!rgp
  2. From: rgp@mpd.tandem.com (Ramon Pantin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: GOTO, was: Tiny proposal for na
  5. Message-ID: <2378@devnull.mpd.tandem.com>
  6. Date: 3 Sep 92 19:27:32 GMT
  7. References: <4192@papaya.bbn.com> <1992Sep2.131733.20676@terminator.cc.umich.edu> <rmartin.715526582@thor>
  8. Sender: news@devnull.mpd.tandem.com
  9. Organization: Tandem Computers, Micro-Products Division
  10. Lines: 54
  11.  
  12. In article <rmartin.715526582@thor> rmartin@thor.Rational.COM (Bob Martin) writes:
  13. >potts@itl.itd.umich.edu (Paul Potts) writes:
  14. >
  15. >|To make GOTO more readable, NEVER go backwards in your code, only
  16. >|forwards; use only one GOTO in a block, and comment explicitly. If GOTO
  17. >|is used only under certain conditions, the argument against writing
  18. >|spaghetti code really doesn't apply.
  19.  
  20. >You don't have to make up your own rules. Some other guys, who have
  21. >thought about it alot, have put together a pretty well thought through
  22. >set of rules.
  23.  
  24. Robert Martin means:
  25.     "Don' think.  Others have already thought about it for you (and me),
  26.      please don't use your brain, it might hurt."
  27.  
  28. Paul, you better start listening to the "expert", Robert Martin, he is
  29. talking about the highest religious experience of them all, Structured
  30. Programming (SP).
  31.  
  32. >...  Moreover, the industry has, for the most part, accepted
  33. >those rules as valid.
  34.  
  35. So if that is the case, then we have to blame all mighty SP for the 100 x 1
  36. or 1000 x 1 defect ratios (that the expert, Robert Martin, reported) in code
  37. "made in the U.S.A." vs code "made in Japan" ?
  38.  
  39. Hope that this doesn't cause another series on "Structured Programming
  40. and the Software Crisis" by the expert, Robert Martin.
  41.  
  42. >...  Moreover, it has been proven that those rules
  43. >are always workable, and it has been shown that they help to make code
  44. >more readable and maintainable.  
  45.  
  46. Paul, the expert says that it has been PROVEN !!!
  47. I think that the proof method is "reduction to ad-nauseum", some of the
  48. techniques used in the proof are "kill files" and "reduction of the
  49. audience to the empty set", this appeared recently in a series of posts
  50. in comp.lang.c++, to be published by the expert, Robert Martin as the:
  51.  
  52.     "Power User's Guide to Structured Programming in C++,
  53.         Theorems and Formal Proofs
  54.  
  55. Robert, I'm another one that is sick and tired of this constant and useless
  56. repetition.  Why don't you spare us from your priceless words of wisdom
  57. and just molest a smaller group of people thru direct email?
  58.  
  59. If you can't resist some internal need for communicating in broadcast
  60. mode (exhibitionism? :-) about this topic, I sugest that you set up a
  61. mail alias and that all the people interested in this topic send you
  62. their mail addresses to set it up (just imagine your own mini-newsgroup!),
  63. just don't be disappointed if nobody signs up.
  64.  
  65. Ramon Pantin
  66.