Talk:Covariance and generics case study
Revision as of 15:53, 13 April 2008 by Peter gummer (Talk | contribs)
--Peter gummer 17:53, 13 April 2008 (PDT) This is a really good comparison!
The explosion of complex declarations in the generic cases could be defused by declaring new classes. It's similar to how you had to declare new classes to redefine features covariantly. Those new classes would encapsulate the generic parameters, saving clients the trouble of worrying about the generics.