| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Polymorphism ? |
> NH> Yesterday I was asked to give a simple definition of polymorphism.
Weird! The word polymorph does not occur in the ISO document that
defines ANSI C. I doubt that polymorphism can exist in a procedural
language.
Any thing (e.g carbon) that can exist in different forms (e.g. soot,
graphite, diamond) displays polymorphism.
The whole subject has more affinity with alchemy than with programming,
but then so does OOP. :-) You could stretch it to include operator
overloading in C++.
Best Wishes,
Bill.
---
* Origin: Escan BBS (2:25/200)SEEN-BY: 633/267 270 @PATH: 25/200 108 252/110 250/501 140/1 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™.