JDK 7: Language, the penny drops, Swings back


Small changes to the Java language can have a powerful effect. How many of us remember Java SE 5 as the release that included the for each loop ? Sometimes, the biggest doors are opened by the smallest keys.

As shown in number of informal polls a large number of ideas have been rattling about in our pockets for some time, but now the formal call for proposals for small language changes for JDK 7 is open for the whole of March, as Joe announces. And you can see the proposals (see this, for example) are already tumbling into the slot of the Project Coin mailing list and the subject of detailed discussion.

And, in other news, Alex just posted an update on where things are with the Swing Application Framework, and is looking for input on some remaining issues SAF could solve for JDK 7.
Comments:

Java's foreach loop is a perfekt example of how things may go wrong. Of course at first it looks nice but now, since I know how BGGA would have solved this in a better way, this foreach loop simply succs. So what is wrong with this? Javas foreach loop doesn't handle NULL values as input. Furthermore it is sequential and you cann't simply replace it with a concurrent version.

Why should we stove more of these half-baked changes to the language?

Posted by Alexander Grünewald on March 02, 2009 at 05:20 PM PST #

Please, leave the syntax of the language alone. It's already been positively uglified in Java 5. No more.

A simple money API in java.util might be useful to stop all those idiots using floating point logic for it. I'm sure there are other useful API extensions too. But leave the language syntax well enough alone.

thanks.

Posted by Scot Mcphee on March 02, 2009 at 08:30 PM PST #

The language is done, it's good enough. Aside from making it modular, and actually removing API's from the core, leave it alone!

Posted by Guy Mac on March 03, 2009 at 01:00 AM PST #

Note: for a small penny image you are using a 1200\*1600 size image, which is 500+ kb in size.

Posted by Kishore on March 11, 2009 at 06:40 PM PDT #

By dividing the living rooms into equal squares, it turns out that for most games, many of the squares contain unused toys that can be safely put away.http://www.watchgy.com/
http://www.watchgy.com/tag-heuer-c-24.html

Posted by replica rolex on December 27, 2009 at 01:38 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

A blog all about Java in all its flavors on all client platforms from smartcards to desktops and everything inbetween.

Search

Categories
Archives
« March 2015
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today
Feeds