Hi Cedric, I confess I am actually torn. I'm a big fan of polyglot and reified generics could throw a spanner in the works for this. We had a fun discussion with Charlie (JRuby) Martin (Scala), Jeff (Gosu) and Ola about this last year.
Counter point is that I feel that type erasure generics breaks the principle of least surprise for the day to day developer. I always harp on about empirical evidence, so I really should set up a workshop and have developers try out both types and see what their feedback is. :) Food for thought - thanks for triggering it! Cheers, Martijn On Wednesday, 3 October 2012, Cédric Beust ♔ wrote: > On Wed, Oct 3, 2012 at 12:14 PM, Martijn Verburg > <[email protected]<javascript:_e({}, 'cvml', > '[email protected]');> > > wrote: > >> Tentatively scheduled for 9 or 10 - I'd prefer to see 9 personally but >> appreciate its a non trivial change ;-) > > > But why? I'm still struggling to find out why some people feel so strongly > about the importance of reified generics. If you spend some time thinking > about the implications and costs of reified generics, you actually realize > that the need is rare and that even in such situations, type literals (or > similar) can get you very far, and that erasure comes with many more pros > and less cons than reified generics do. > > I captured these thoughts in this > article<http://beust.com/weblog/2011/07/29/erasure-vs-reification/>a while > ago, I'd love to hear if your use case for reified generics is not > covered there. > > -- > Cédric > > -- > You received this message because you are subscribed to the Google Groups > "Java Posse" group. > To post to this group, send email to > [email protected]<javascript:_e({}, 'cvml', > '[email protected]');> > . > To unsubscribe from this group, send email to > [email protected] <javascript:_e({}, 'cvml', > 'javaposse%[email protected]');>. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
