tag:blogger.com,1999:blog-27876765.post115367669554107182..comments2024-03-20T13:37:39.909+01:00Comments on Day to day stuff: Java 7 improvementsErik van Oostenhttp://www.blogger.com/profile/15976519439979651010noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-27876765.post-1155042185283102762006-08-08T15:03:00.000+02:002006-08-08T15:03:00.000+02:00Thanks for your comment, though I disagree with th...Thanks for your comment, though I disagree with there being a deluge of changes:<BR/>- The changes I see to the core libraries are mostly additions and improvements. Some make the libraries MORE consistent. You notice the small inconveniences when you have to switch back to earlier versions.<BR/>- Furthermore, I'd say Java has NOT had many syntax changes. The biggest changes are introduced in Java 5. Of those the generics are weird, as many (including me) agree.<BR/><BR/>My humble blog tries provide input to correct one of the problem with generic. More syntax? Unfortunately yes. For the better? Maybe, maybe not.Erik van Oostenhttps://www.blogger.com/profile/15976519439979651010noreply@blogger.comtag:blogger.com,1999:blog-27876765.post-1155041077191227122006-08-08T14:44:00.000+02:002006-08-08T14:44:00.000+02:00It was high time the Java platform got a breather ...It was high time the Java platform got a breather from the constant deluge of changes to the syntax and core libraries introduced in every new release.<BR/>It destroys the coherence of the language for the sole purpose of looking more like whichever other language the person proposing the change likes best.<BR/><BR/>If this doesn't end we may well end up with a platform that's completely useless. <BR/>Many companies and end users are already sticking with 1.4 (or 1.3 even) for that reason (if no others, corporate sluggishness has something to do with it).<BR/><BR/>Unless a period of consolidation is begun, it may be too late.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27876765.post-1154071126361775482006-07-28T09:18:00.000+02:002006-07-28T09:18:00.000+02:00$&@#$@**# So appearently Sun has already though ab...$&@#$@**# So appearently Sun has already though about it (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5072887) and rejected the idea. They probably don't care about programmer productivity. Pfew, how different that is in the Ruby environment.Erik van Oostenhttps://www.blogger.com/profile/15976519439979651010noreply@blogger.comtag:blogger.com,1999:blog-27876765.post-1153808291584790562006-07-25T08:18:00.000+02:002006-07-25T08:18:00.000+02:00Thanks Tom. I just voted for the bug.I really like...Thanks Tom. I just voted for the bug.<BR/><BR/>I really like the Percent example.Erik van Oostenhttps://www.blogger.com/profile/15976519439979651010noreply@blogger.comtag:blogger.com,1999:blog-27876765.post-1153786720464340712006-07-25T02:18:00.000+02:002006-07-25T02:18:00.000+02:00See also the related conversation on typedefs/alia...See also the <A HREF="http://weblogs.java.net/blog/timboudreau/archive/2006/07/the_joy_of_gene.html" REL="nofollow">related conversation on typedefs/aliases in the comments of this post on java.net</A>. Also, <A HREF="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4983159" REL="nofollow">this referenced item on typedefs in the Bug Parade</A>.<BR/><BR/>Also, side comment on how this could apply to more than generics:<BR/><BR/>public Percent = @Range(0, 100) Double;<BR/><BR/>Or other variations on the theme.<BR/><BR/>But while you can't effectively use deeply nested generic collections in Java right now, I sometimes think maybe that's an okay thing. Maybe a custom domain-specific class here and there in the object graph is good sometimes.<BR/><BR/>So I'm mixed on this issue. Just one more thing to learn, but maybe that's okay.<BR/><BR/>As for static imports, now that they're here, I'm pretty sold on them. (If I were doing a language from scratch, I'd do everything differently. So that's my caveat. But there are lots of very different languages out there, and they don't get a lot of traction. There's something to be said for familiarity.)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27876765.post-1153770828565383552006-07-24T21:53:00.000+02:002006-07-24T21:53:00.000+02:00I totally agree with you on both cases....I'm stil...I totally agree with you on both cases....<BR/><BR/>I'm still not sure about liking static imports or not, but (as I mentioned on <A HREF="http://blog.finalist.nl" REL="nofollow">the finalist weblog</A>) for stuff like String.format they kan be quite usefull:<BR/><BR/><I><BR/>import static java.lang.String.format;<BR/><BR/>public class MyFormattingTest {<BR/> public static void main(String... args) {<BR/> System.out.print(format("asdf %d",1));<BR/> }<BR/>}<BR/></I>Anonymousnoreply@blogger.com