Generics don’t write Bad Code, people do.

Of the big changes to the JLS coming with JDK1.5, generics are definitely the one I’m least psyched about. The debate about this has raged for years, so I won’t waste keystrokes rehashing arguments about how completely useless and ugly they are. Those arguments are now not only tired but moot as well; [...]

Generics bad, Autocasting worse?

Sam has a lot of complaints about the forthcoming introduction of generic types into Java. I share almost all of those complaints, and even have a few more of my own which I will try to write about later.

However, Sam goes on to propose an addition to the java compiler which he calls Autocasting. [...]