Dynamic Overload Resolution

Both when coding in C++ and C# I’ve had problems with overload resolution being static. There are workarounds, for example the visitor pattern but it requires quite an effort to implement. More importantly it cannot be implemented without changing the visited element. With C#4’s dynamic keyword there is finally a better solution. To illustrate the problem… Continue reading Dynamic Overload Resolution