Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bruce has an interesting discussion entitled “Generics Aren't”. It's primarily about the new support for generics in Java, but it has a lot of “generic generic” material as well.
Comments
- Anonymous
March 11, 2004
(disclaimer: I'm not an expert on C# generics)
Aren't a lot of his arguments also true for C# generics? Or is the robot/dog problem solveable in C# without using an interface? I have the feeling (but do not know for sure) that in C# I'll also need an interface (and thus don't need generics) - Anonymous
March 12, 2004
His arguments do apply to C#, but I think Bruce's fondness for dynamic typing caused him to gloss over the advantages. See my response at http://www.thinkingin.net/2004/03/12.aspx#a669 - Anonymous
March 12, 2004
Knowing .NET