From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_50,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1dc0d0f1c69afb5a X-Google-Attributes: gid103376,public From: Richard Riehle Subject: Re: polymophism Date: 1996/11/29 Message-ID: #1/1 X-Deja-AN: 201477964 references: <57eab6$1g84@info4.rus.uni-stuttgart.de> content-type: TEXT/PLAIN; charset=US-ASCII organization: National University, San Diego mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-11-29T00:00:00+00:00 List-Id: On 26 Nov 1996, Peter Hermann wrote: > What is "polymophism" ? Peter, Good question. Polymorphism is somewhat like a kiss. In polymorphism, a message is interpreted at the time it is received, by the receiving object. So if you kiss your mother, the same message, a kiss, will be processed differently (we hope) that it would be interpreted by your girl friend, wife (or both). If you kiss your elderly aunt, the message will be processed in different way than if you kiss you infant son or daughter. If you are Frenchman greeting each other, there is a totally different message sent both directions. A beautiful princess may go around kissing frogs. Each frog may process the message (the kiss) differently. However, one of the many frogs may process the message such that it transforms itself into a handsome prince. One might, therefore, say that polymorphism is analogous to the beautiful princess kissing a frog. Richard Riehle