Java 5 Generics
Jan 24, 07:57 PM
I just wrote up a pretty long description of a system I developed to associate Java 5 enums with database tables at runtime. I’m looking for feedback on the method since I’m not really 100% happy with it. I recently tried to extend it by caching the Lookups in a HashMap and I got frustrated with it pretty quickly. I couldn’t seem to get the generic wildcards to play nicely with the templated methods. Since there are really no absolutes in Computer Science, when faced with a new technology I usually push it too far to see how it breaks down. The whole experience has me questioning if the complexity of the generics system in advanced usage is worth the benefits. And I know I’m not the first person to question generics
New Year in Tokyo << - >> Category 5

