⚠️ Warning: This is a draft ⚠️

This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.

If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.

{{feature|Typing/Compatibility}} A [[wp:Duck typing|typing scheme]] commonly used by dynamic languages. :''If it walks like a duck and quacks like a duck, I would call it a duck.'' For example, with [[:Category:Typing/Compatibility/Structural|structural typing]] a “get the x element of a structured type” operation will only apply to one type (or its subtypes), but with duck typing it will apply to ''any'' structured type that has such an element. It is common for duck-typed languages to use [[:Category:Typing/Checking/Dynamic|dynamic typing]] too.