TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bill Birrell
from: Neil Heller
date: 2004-07-12 19:16:02
subject: Polymorphism ?

BB> There are no truly polymorphic 
BB> variables, simply because variables have to be identified, 
BB> declared and defined. This imposes uniformity 
BB> (monomorphism) on them. Type and shape are different 
BB> categories altogether.

In C, does a cast from type void to a pointer to type char show a type 
of polymorphism?  The easy answer is "no" because the C language make no 
mention whatsoever of the concept of polymorphism.  This aside, however, 
might it be considered the start toward polymorphism?

BB>    Let me illustrate: You and your dog are the same type 
BB> of animal - you are mammals. However your form is human 
BB> while your dog's form is canine. Does this clarify, or only 
BB> confuse?

A dog and an alligator are also the same type of animal - they are both 
quadrupeds.  The list of possible comparisons is endless.  Are you 
saying that at some level of existence everything is essentially the 
same (keeping the prime elements of air, earth, fire and water separate, 
of course)?

Was the original idea of a cast initially a concept that came from 
Merlin?

þ CMPQwk 1.42 999

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.