Duck Typing
3 posts3 contributors
Articles about Duck Typing
What is Duck Typing in Python?
Duck typing is an important idea in Python that makes the language flexible and easy to use. Instead of checking what type an object is, Python checks what the object can do. This article explains duck typing in simple words, how it works, its benefits, possible problems, and examples from real Python code.

Dynamic Type In C# 4.0
In C# 4.0 and later versions, the introduction of the dynamic type brought dynamic typing to a primarily statically-typed language. The dynamic type is designed to provide flexibility in scenarios where the data type of a variable may not be known until runtime, such as when working with COM objects, interacting with dynamic languages like Python, or dealing with data from external sources like web services and databases.


