Re: Polymorphism vs. Overloading

geld@cs.sun.ac.za (Jaco Geldenhuys)
Mon, 31 Oct 1994 22:15:21 GMT

          From comp.compilers

Related articles
[6 earlier articles]
Re: Polymorphism vs. Overloading norman@flaubert.bellcore.com (1994-10-24)
Re: Polymorphism vs. Overloading ichudov@wiltel.com (1994-10-28)
Re: Polymorphism vs. Overloading strohm@mksol.dseg.ti.com (1994-10-28)
Re: Polymorphism vs. Overloading ryer@dsd.camb.inmet.com (1994-10-28)
Re: Polymorphism vs. Overloading mac@coos.dartmouth.edu (1994-10-25)
Re: Polymorphism vs. Overloading joe@sanskrit.ho.att.com (1994-10-31)
Re: Polymorphism vs. Overloading geld@cs.sun.ac.za (1994-10-31)
Re: Polymorphism vs. Overloading ram@cs.cmu.edu (Rob MacLachlan) (1994-10-25)
Re: Polymorphism vs. Overloading billk@cs.ukans.edu (1994-10-31)
Re: Polymorphism vs. Overloading Mike.Chapman@muc.de (Mike Chapman) (1994-10-31)
Re: Polymorphism vs. Overloading jsm@id.dth.dk (1994-10-31)
Re: Polymorphism vs. Overloading sofkam@rpi.edu (1994-10-31)
Re: Polymorphism vs. Overloading andand@csd.uu.se (1994-10-26)
[18 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: geld@cs.sun.ac.za (Jaco Geldenhuys)
Keywords: polymorphism
Organization: University of Stellenbosch, South Africa
References: 94-10-144 94-10-154
Date: Mon, 31 Oct 1994 22:15:21 GMT

Joseph H Allen wrote:
| Gabriela O. de Vivo <gdevivo@conicit.ve> wrote:
| >At some point a question raised about the exact difference between
| >Polymorphism and Overloading.
|
| The difference is purely syntactical.


Are you sure that this is the only difference? My definitions are:


Polymorphism - the ability of an entity to refer at run-time to instances
      of various classes;
Overloading - the reuse of identifiers for different, but analogous,
      entities.


It sounds like a difference in level. Can you give an example of the
polymorphism -> overloading conversion, please.


-----------------------------------------------------------------------
J. Geldenhuys geld@cs.sun.ac.za Univ. of Stellenbosch, South Africa
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.