Liam Knox
Posts: 1
Nickname: kinko
Registered: Jul, 2008
|
|
Re: Simplyfing Java Generics by Eliminating Wildcards
|
Posted: Jul 17, 2008 7:19 PM
|
|
I totally disagree with this premis. If your method of enforcing compile checks is so complicated that by doing so you are likely to make errors, then this invalidates the whole process. Also generic wildcards make the code so unwieldly and harder to read. One of the key points about code maintainabilty is simplicity and readability. If these are compromized also, what you gain from the compiler checks are neggated. The compiler can only save you from so much, it cant make your code bug proof
|
|