This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: Russell's Java 2SE 5 Complaints
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Russell Beattie has some Java 1.5 thoughts.
He has come up with my #1 favorite complaint about Generics. I am not going to complain about erasure, and the fact that is is unreadable:
An annoying part of the new Java code is the template syntax with < and > tags. Now you can't just copy/paste your code into your blog site, instead you have to spend time escaping those tags. Bleh. I know C++ uses that convention, but I think Java could've done something a bit different and clearer. And there's still tons of "redundant" lines like List<String> listOfStrings = new LinkedList<String>( ); I mean, how many times do I have to write List and String in one line to freaking tell Java what I want? I know this helps casting, but I never really had a problem with it and this seems like a band-aid, not a real fix.
That is true! Maybe with Dave "Roller" Johnson as a part of Sun, he will be in on the specs to make sure that things like this don't happen! :)