Ted Leung writing on generics in Java. They're just as much a pain as in C#...
As I listened to the generics discussion, my mind was thinking something like this:Generics extends the amount of static type checking that you can do.Static typing checking is good because you make fewer mistakes.
But wait, now you have to worry about wildcards and type bounds.
It seems that for average programmers this could be more work than writing the code itself.
So now you can make a mistake in writing the specification (type) that is supposed to keep you from making a mistake.
Doesn't sound like a bargain to me.
No comments:
Post a Comment