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

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!mcsun!news.funet.fi!network.jyu.fi!sakkinen
  3. From: sakkinen@jyu.fi (Markku Sakkinen)
  4. Subject: Re: Pointers
  5. Message-ID: <1992Nov12.081454.23507@jyu.fi>
  6. Organization: University of Jyvaskyla, Finland
  7. References: <92Nov10.125426est.47525@neat.cs.toronto.edu> <BxIoDv.72J@mentor.cc.purdue.edu> <1992Nov11.155149.14744@rdg.dec.com>
  8. Date: Thu, 12 Nov 1992 08:14:54 GMT
  9. Lines: 32
  10.  
  11. In article <1992Nov11.155149.14744@rdg.dec.com> jch@rdg.dec.com (John Haxby) writes:
  12. > ...
  13. >In CLU, you can pass paramaters of type PROCTYPE to accomplish exactly
  14. >the same thing, or you can use type parameterization (genericism if you like)
  15. >for a similar mechanism for, often, much the same purpose.  CLU doesn't
  16. >have references, yet alone pointers.
  17. > ...
  18.  
  19. Actually, I think, _all_ variables in CLU are references,
  20. except those of atomic types.  (Pretty much like LISP.)
  21.  
  22. It is a bad thing, IMO, that many languages force programmers
  23. to use pointers or references even for purposes that would be
  24. better solved by other means.  I would recommend people to read
  25. Hoare's classic paper, "Recursive data structures" (Int. J. of
  26. Computer and Information Sciences, Vol. 4 (1975) No. 2).
  27. It's been reprinted at least in "Essays in Computing Science"
  28. by Hoare and Jones (Prentice-Hall 1989).
  29.  
  30. It seems that not all objections against pointers in Hoare's paper
  31. are extremely relevant, and some others have been obsoleted
  32. by techical progress.  Enough good points still remain.
  33.  
  34. ----------------------------------------------------------------------
  35. Markku Sakkinen (sakkinen@jytko.jyu.fi)
  36.        SAKKINEN@FINJYU.bitnet (alternative network address)
  37. Department of Computer Science and Information Systems
  38. University of Jyvaskyla (a's with umlauts)
  39. PL 35
  40. SF-40351 Jyvaskyla (umlauts again)
  41. Finland
  42. ----------------------------------------------------------------------
  43.