Duck typing Page

Duck Typing



Return to Duck type

P



Return to Python glossary, Python lingo, Python

" (FlntPy 2022)

Fair Use Sources


Fair Use Sources:
* B09WZJMMJP (FlntPy 2022)

{{navbar_python}}

{{navbar_footer}}


"duck typing - determining the properties of a type, often in a template when choosing what algorithms to use with objects of that type, based solely on the syntactic interface it supports. As this approach has no way to check for or enforce semantic requirements, it must rely on the aphorism, “If it looks like a duck and walks like a duck, it must be a duck.” friend ’11 (1052)" (EMCppSfe 2021)

{{wp>duck typing}}

{{navbar_footer}}