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

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!netcomsv!spacebbs!ted.jensen
  2. From: ted.jensen@spacebbs.com (Ted Jensen)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Pointer/address
  5. Message-ID: <10680.610.uupcb@spacebbs.com>
  6. Date: 28 Aug 92 14:36:00 GMT
  7. Reply-To: ted.jensen@spacebbs.com (Ted Jensen)
  8. Distribution: na
  9. Organization: SPACE BBS - Menlo Park, CA - 10 Lines + 4gB - 415-323-4193
  10. Lines: 35
  11.  
  12.  
  13.  
  14. steve@taumet.com (Steve Clamage) writes (in answer to my article)
  15.  
  16. TJ>Thus I think that by virtue of the fact that we have two
  17. TJ>different words for describing the a variable type (pointer) and
  18. TJ>the contents stored in such a variable type (address) a
  19. TJ>description of what is actually taking place when using pointers
  20. TJ>_can_, in a sense, be made clearer than when using integers or
  21. TJ>floats.
  22.  
  23. > Finally, a pointer variable need not contain a machine address.
  24. > It might contain more than an address, as on capability
  25. > architectures, or less than an address, as on some segmented
  26. > architectures, or something which only describes an address, as
  27. > when part of the pointer is an index into a table of segments or
  28. > addresses.
  29.  
  30. Finally!  I have posted my reasons for preferring the use of
  31. "address" over "pointer" in certain contexts many times on
  32. various BBS's.  I have often received criticism based on the fact
  33. that virtually no author (including of course the ANSI standard,
  34. K&R1, and K&R2) was in agreement with me.  That, in itself, would
  35. not make my usage incorrect IMHO.  None of the books I have ever
  36. seen have been explicit about why their phrasing was preferred or
  37. even correct.  However, here, finally, you have clearly and
  38. explicitly stated why my usage of "address" was incorrect.
  39.  
  40. I bow to your more reasonable explanation and thank you for
  41. pointing out my error.
  42.  
  43. Ted Jensen
  44. ---
  45.  * SLMR 2.0 * 
  46.                                                                                                                       
  47.