This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
dido:public:ra:xapend:xapend.a_glossary:d:ducktyping [2020/11/14 18:26] nick created |
dido:public:ra:xapend:xapend.a_glossary:d:ducktyping [2021/10/04 13:40] (current) 50.19.247.197 ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Duck Typing ===== | ===== Duck Typing ===== | ||
| - | [[dido:public:ra:xapend:xapend.a_glossary | Return to Glossary ]] | + | [[dido:public:ra:xapend:xapend.a_glossary:start| Return to Glossary ]] |
| - | **Duck Typing** is a style of dynamic typing in which an object's current set of methods and properties determines the valid [[dido:public:ra:xapend:xapend.a_glossary:s:semantics|semantics]], rather than its inheritance from a particular class or implementation of a specific interface. | + | **Duck Typing** is a style of dynamic typing in which an [[dido:public:ra:xapend:xapend.a_glossary:o:object|object's]] current set of methods and properties determines the valid [[dido:public:ra:xapend:xapend.a_glossary:s:semantics|semantics]], rather than its inheritance from a particular [[dido:public:ra:xapend:xapend.a_glossary:c:class|class]] or implementation of a specific [[dido:public:ra:xapend:xapend.a_glossary:i:interface|interface]]. |
| Source: [[https://www.yourdictionary.com/duck-typing]] | Source: [[https://www.yourdictionary.com/duck-typing]] | ||