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

  1. Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!UB.com!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.714931485@thor>
  6. Date: 27 Aug 92 16:04:45 GMT
  7. References: <714668024@thor> <6800007@tisdec.tis.tandy.com> <1992Aug26.130335.26725@hemlock.cray.com> <1992Aug26.194538.1598@spss.com>
  8. Sender: news@Rational.COM
  9. Lines: 39
  10.  
  11. hosken@spss.com (Bill Hosken) writes:
  12.  
  13. >Clear thinking helps to write good code, gotos whether or not.
  14.  
  15.  
  16. This is sort of like saying:  "I am an expert driver, my clarity of
  17. driving skills entitles me to ignore certain stop signs, when I know
  18. (by virtue of my great skill) that there is no cross traffic.
  19.  
  20. You see, I am such a good driver, that the legal alcohol limit does
  21. not apply to me.  Nor do speed limits, detour signs, or even
  22. the need to use headlights at night."
  23.  
  24. Now, this diatribe might sound absurd, but for some individuals it   
  25. might me 100% correct.  There may be individuals whose driving skills
  26. are so sharp and accurate that they can drive drunk, 20 mph over the
  27. limit, in the dark, with no headlights, ignoring stopsigns, with no
  28. ill effects at all.
  29.  
  30. But I'd be damned (or more probably roadkill) if I took their word for
  31. it.
  32.  
  33. So we have rules.  These rules protect us average types from the guys
  34. who think they are "real good drivers".  When some guy blows a stop
  35. sign, it doesn't matter to me, one whit, if he is the greatest driver
  36. in the world, I will still applaud the cop who pulls him over.
  37.  
  38. -------------------
  39.  
  40. In software engineering, we have rules, but no cops.  (And I don't
  41. want any cops either).  So "real good programmers" sometimes feel that
  42. the rules don't apply to them.  We average types suffer at their hands.
  43.  
  44.  
  45. --
  46. Robert Martin                        Training courses offered in:
  47. R. C. M. Consulting                       Object Oriented Analysis
  48. 2080 Cranbrook Rd.                        Object Oriented Design
  49. Green Oaks, Il 60048 (708) 918-1004       C++
  50.