Top "Duck-typing" questions

In Duck Typing, an object's methods and properties determine its valid semantics rather than its membership in a particular class or its interface.

Duck type testing with C# 4 for dynamic objects

I'm wanting to have a simple duck typing example in C# using dynamic objects. It would seem to me, that …

dynamic c#-4.0 duck-typing
Python and dictionary like object

I need a python 3.1 deep update function for dictionaries (a function that will recursively update child dictionaries that are inside …

python dictionary duck-typing
What's the relationship between C++ template and duck typing?

To me, C++ template used the idea of duck typing, is this right? Does it mean all generic types referenced …

c++ templates duck-typing
Return one of two possible objects of different types sharing a method

I have 2 classes: public class Articles { private string name; public Articles(string name) { this.name = name; } public void Output() { Console.…

c# .net oop factory-pattern duck-typing