This post originated from an RSS feed registered with Java Buzz
by Weiqi Gao.
Original Post: Java Generics: Let The Other Shoe Drop
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Guy Steele on GJ: GJ is an excellent design and implementation for adding generic types to the Java programming language. It provides a workable and practical facility for the immediate future that can solve many of today's problems in programming and debugging. In the long term, I would hope to see it compatibly extended to carry run-time type parameter information in the manner that Robert Cartwright and I have proposed; but even if that does not occur, GJ as it is currently designed is a useful and workable tool that deserves widespread study and use.
—Guy Steele (quoted from e-mail, with permission)
My recent reading of the O'Reilly book Java Generics and Collections convinced me that Java generics is too much trouble for too little gain for the average Java developer like me.
Me: My biggest wish for a future version of Java, not necessarily Java 7, is to have the other half of Java generics (runtime support for generic types) implemented, thus removing the need for erasure.
Thinking that what I hoped might be just a common Java language user's fantasy that is not doable in reality, I did some search on The Google on the topic. And what did I find?:
That it's not a mere fantasy of a mere language user
That a run-time type parameter information proposal has been on the table since 1998