comp.lang.ada
 help / color / mirror / Atom feed
From: Richard Riehle <rriehle@nunic.nu.edu>
Subject: Re: polymophism
Date: 1996/11/29
Date: 1996-11-29T00:00:00+00:00	[thread overview]
Message-ID: <Pine.GSO.3.95.961129145346.24389B-100000@nunic.nu.edu> (raw)
In-Reply-To: 57eab6$1g84@info4.rus.uni-stuttgart.de


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





  parent reply	other threads:[~1996-11-29  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-26  0:00 polymophism Peter Hermann
1996-11-26  0:00 ` polymophism Peter Hicks
1996-11-26  0:00   ` polymophism Peter Hermann
1996-11-26  0:00 ` polymophism John Howard
1996-11-29  0:00 ` Richard Riehle [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-11-18  0:00 polymophism AGBOH CHARLES
1996-11-19  0:00 ` polymophism Darren C Davenport
1996-11-21  0:00   ` polymophism James O'Connor
1996-11-21  0:00     ` polymophism Mike Stark
1996-11-22  0:00       ` polymophism Klaus Brouwer
1996-11-23  0:00         ` polymophism James O'Connor
1996-11-25  0:00         ` polymophism Richard Riehle
1996-11-22  0:00       ` polymophism Norman H. Cohen
1996-11-22  0:00     ` polymophism Norman H. Cohen
1996-11-23  0:00       ` polymophism James O'Connor
1996-11-22  0:00         ` polymophism Matthew Heaney
1996-11-25  0:00           ` polymophism Joachim Durchholz
1996-11-26  0:00             ` polymophism Don Harrison
1996-11-25  0:00           ` polymophism Don Harrison
1996-11-23  0:00     ` polymophism John Howard
1996-11-21  0:00   ` polymophism Robert I. Eachus
1996-11-22  0:00   ` polymophism Jon S Anthony
1996-11-22  0:00     ` polymophism Robert A Duff
1996-11-23  0:00   ` polymophism Jon S Anthony
1996-11-24  0:00   ` polymophism Robert B. Love 
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox