If you use Java you probably know about Generics. Generics are a powerful part of the language that can potentially save a lot of time, and code by allowing the use parameter types.
The way generics were implement was by erasure in order to keep compatibility with legacy code. By doing it this way a few compromises had to be made, especially with arrays. Now one of the designers of Generics is basically saying "We might have screwed up."
Changing Generics in Java 7
No comments:
Post a Comment