home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / misc / 3632 < prev    next >
Encoding:
Text File  |  1992-11-13  |  1.7 KB  |  38 lines

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!pop.stat.purdue.edu!hrubin
  3. From: hrubin@pop.stat.purdue.edu (Herman Rubin)
  4. Subject: Re: Pointers
  5. Message-ID: <Bxnqv5.J71@mentor.cc.purdue.edu>
  6. Sender: news@mentor.cc.purdue.edu (USENET News)
  7. Organization: Purdue University Statistics Department
  8. References: <1992Nov5.014143.15635@newshost.lanl.gov> <id.6HVU.OC@ferranti.com> <1992Nov12.200950.8846@newshost.lanl.gov>
  9. Date: Fri, 13 Nov 1992 13:59:28 GMT
  10. Lines: 26
  11.  
  12. In article <1992Nov12.200950.8846@newshost.lanl.gov> jlg@cochiti.lanl.gov (J. Giles) writes:
  13.  
  14.             .......................
  15.  
  16. >C.A.R. Hoare proved that the concepts of pointers and GOTOs are
  17. >*isomorphic* - which is a lot stronger than a mere analogy.  The
  18. >consequence of this observation is that *any* valid argument against
  19. >GOTOs is equally valid against pointers.  Period.  As I keep saying,
  20. >you cannot do any coding at all without GOTOs, it's just that most 
  21. >of the ones you use are hidden under an interface (IF/ELSE, DO/ENDDO,
  22. >SELECT/CASE, procedure calls, etc.) which capture the *specific* semantics
  23. >of the flow control the user has in mind.  The same kinds of interfaces
  24. >need to be designed and applied to data structures to eliminate *raw*
  25. >pointer instances.
  26.  
  27. Why do some people find it necessary to hide simple devices under 
  28. interfaces?  The insistence on the use of these interfaces is like
  29. the joke about the mathematician who pours the water out of the bucket
  30. and turns off the stove to reduce the problem to the previous case.
  31.  
  32.  
  33. -- 
  34. Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
  35. Phone: (317)494-6054
  36. hrubin@snap.stat.purdue.edu (Internet, bitnet)  
  37. {purdue,pur-ee}!snap.stat!hrubin(UUCP)
  38.