home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / misc / 3706 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.7 KB

  1. Path: sparky!uunet!mcsun!uknet!mucs!m1!bevan
  2. From: bevan@cs.man.ac.uk (Stephen J Bevan)
  3. Newsgroups: comp.lang.misc
  4. Subject: Re: Pointers
  5. Message-ID: <BEVAN.92Nov13092344@beluga.cs.man.ac.uk>
  6. Date: 13 Nov 92 09:23:44 GMT
  7. References: <mwm.2lp7@contessa.palo-alto.ca.us> <BxJzzv.4H7@mentor.cc.purdue.edu>
  8.     <mwm.2lx7@contessa.palo-alto.ca.us> <BxKvEy.Fnq@mentor.cc.purdue.edu>
  9. Sender: newsman@cs.man.ac.uk
  10. Organization: Department of Computer Science, University of Manchester
  11. Lines: 24
  12. In-reply-to: hrubin@mentor.cc.purdue.edu's message of 12 Nov 92 00:44:57 GMT
  13.  
  14. In article <BxKvEy.Fnq@mentor.cc.purdue.edu> hrubin@mentor.cc.purdue.edu (Herman Rubin) writes:
  15.    Let me repeat that I am assuming separate compilation, and only
  16.    communication blocks to integrate the modules.  The unit calling
  17.    the function refilling the buffer knows only how to find the
  18.    function identifier and enough of the buffer descriptor to use the
  19.    buffer and to know how much is left in it. 
  20.  
  21. This has absolutely no bearing on the issue.
  22.  
  23.    [deleted]
  24.    Now indirection (pointers) gives an easy way to do this.  None of
  25.    the critics of pointers have come up with anything not more clumsy
  26.    in implementation.
  27.  
  28. As has already been pointed out, any language that has procedures as
  29. first class types can do this without explicit pointers (Algol 68,
  30. Scheme and ML come to mind but there are plenty of others).  If the
  31. implementation uses pointers, fine, however there is no need for me
  32. the user to have to deal with this.  There is little point in me
  33. giving an example in any of these languages as I refuse to use two
  34. characters names and as such the code will probably be labelled
  35. "verbose" and unreadable by Herman.
  36.  
  37. bevan
  38.