Java Generics
I am working right now on bringing my ERP system into the Java1.5 fold. My original impressions are not terribly positive. I like the new for each syntax, that is very handy, but for generics, I feel it is just more typing…
Sorry, bad puns aside, in comparison to C++ templates which I like a lot and find are necessary, there isn’t anything in my java code where I have found that I needed to use generics. Maybe this will change with time.
I guess I have to learn more about it before I start really talking about it. I just refreshed the system today though, with all the underlying structural code converted to java1.5 This doesn’t necessarily mean it uses it in the right way, but I went through and parameretized my SQL code, which was fun. It helped to get rid of a lot of extra code I had in there to catch exceptions and the like.