Bruce Eckel – Generics Aren’t


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 (3)

  1. Frans Bouma says:

    (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)

  2. 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