From greek, meaning “having or taking many shapes”; polymorphic data does not necessarly belong to a single class. Also called DynamicallyTyped?.
Ruby is a highly polymorphic language, in that any object may be used in any context in which it “makes sense”—a technique also known as DuckTyping.
See also PolymorphicAssociations
category: Glossary
From greek, meaning “having or taking many shapes”; polymorphic data does not necessarly belong to a single class. Also called DynamicallyTyped?.
Ruby is a highly polymorphic language, in that any object may be used in any context in which it “makes sense”—a technique also known as DuckTyping.
See also PolymorphicAssociations
category: Glossary