No Typeswitch in C#: Bogus Arguments
I just read a blog post about why there are no type-switches in C#. This is the second time I read the argument, and it still peeves me off.
A feature many programmers want in C# is the ability to switch on the type. The C# team has made the argument that it is too "hard" to implement so they didn't bother.
Okay perhaps I am being tool harsh. Peter Hallam of the C# language design team made a more sophisticated argument here: http://blogs.msdn.com/peterhal/archive/2005/07/05/435760.aspx.
However, the thing is that I don't care for the argument. The solution seems pretty simple to me: issue errors when their is ambiguity. I mean the thing is that type resolution problem .,.

