|Polymorphism vs. overloading email@example.com (Ralph Johnson) (1990-09-09)|
|Re: Polymorphism vs. overloading firstname.lastname@example.org (1990-09-12)|
|Re: Polymorphism vs. overloading email@example.com (1990-09-14)|
|Polymorphism vs. Overloading firstname.lastname@example.org (1994-10-22)|
|Re: Polymorphism vs. Overloading email@example.com (1994-10-22)|
|Polymorphism vs. Overloading firstname.lastname@example.org (1994-10-27)|
|Re: Polymorphism vs. Overloading email@example.com (1994-10-24)|
|Re: Polymorphism vs. Overloading firstname.lastname@example.org (1994-10-28)|
|Re: Polymorphism vs. Overloading email@example.com (1994-10-28)|
|Re: Polymorphism vs. Overloading firstname.lastname@example.org (1994-10-28)|
|Re: Polymorphism vs. Overloading email@example.com (1994-10-25)|
|[26 later articles]|
|From:||firstname.lastname@example.org (Joseph H Allen)|
|Organization:||The World Public Access UNIX, Brookline, MA|
|Date:||Sat, 22 Oct 1994 08:07:32 GMT|
Gabriela O. de Vivo <email@example.com> wrote:
>Last week I was invited to join a Thesis (MsC) presentation.
>At some point a question raised about the exact difference between
>Polymorphism and Overloading.
The difference is purely syntactical. Calls to overloaded functions look,
well, like function calls. Calls to polymorphic functions require a dot or
'->' somewhere. Really, that's the only difference. Artificial semantic
restrictions placed by certain languages aside, you can always move the
identifier or address-expression from the left of the dot into the
parenthasis as the first argument to generate an equivelent overloaded
Next question: is there a difference between the functional language notion
of a polymorphic type and inheritance (other than functional language type
hierarchies being limited to one level)?
/* firstname.lastname@example.org (220.127.116.11) */ /* Joseph H. Allen */
Return to the
Search the comp.compilers archives again.