home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / object / 5042 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.4 KB

  1. From: kers@hplb.hpl.hp.com (Chris Dollin)
  2. Date: Mon, 25 Jan 1993 11:28:36 GMT
  3. Subject: Re: Re: FAQ  Part 1 (of 2) [ polymorphism or latent typing? ]
  4. Message-ID: <KERS.93Jan25112836@cdollin.hpl.hp.com>
  5. Organization: Hewlett-Packard Laboratories, Bristol, UK.
  6. Path: sparky!uunet!usc!sdd.hp.com!hpscit.sc.hp.com!hplextra!otter.hpl.hp.com!hpltoad!cdollin!kers
  7. Newsgroups: comp.object
  8. References: <PCG.93Jan20002119@decb.aber.ac.uk> <1993Jan22.004420.16674@netcom.com> <KERS.93Jan22095935@cdollin.hpl.hp.com> <1993Jan22.2119
  9. Sender: news@hplb.hpl.hp.com (Usenet News Administrator)
  10. Lines: 18
  11. In-Reply-To: santas@inf.ethz.ch's message of Fri, 22 Jan 1993 21:19:05 GMT
  12. Nntp-Posting-Host: cdollin.hpl.hp.com
  13.  
  14. In article ... santas@inf.ethz.ch (Philip Santas) writes:
  15.  
  16.    In article ... kers@hplb.hpl.hp.com (Chris Dollin) writes:
  17.    >
  18.    > Meyer describes [p73, OOSC] an
  19.    >``entity'' as the object-oriented equivalent of a variable. In Eiffel, 
  20.    >entities of a class hold references to objects.
  21.    >Thus, in at least this one case, polymorphism is a property of *entities*,
  22.    >not *objects*. 
  23.  
  24.    Any particular reason why the original term ``variable'' is not used?
  25.  
  26. Presumably because formal parameters, while being entities, are not 
  27. variables -- you can't assign to them. (You can assign to [slots of]
  28. the object they refer to, but not to the entity itself.)
  29. --
  30.  
  31. Kers.       | "A foolish hobgoblin has the consistency of little minds".
  32.