<< Safari on Windows Feedback: Fonts Dialog | Home | A Comment On GCJ (It May Not Be Dangerously Buggy!) >>

No New Language Features In Java 7?

Elliotte Harold: As for new features in the language, most attendees were lukewarm at best, even when discussing sexy topics like closures. To the extent that the Java language wasn't meeting their needs, most attendees seemed to prefer learning a a new language entirely, such as Scala, rather than adding more features to the Java language. Fortunately for them, Neal Gafter predicted that there will be no new language features in Java 7. Closures and other such major changes will have to wait for Java 8.

The article has been out for 9 days. I made a mental note about this paragraph but did not get around to blog about it until now.

I don't know how realistic Neal's prediction will proven to be. But I do feel that the number of new language feature proposals for Java 7 is too many and the scopes too big to be all adequately designed and agreed upon in time for Java 7 (which is still scheduled for 2008 as far as I can tell) and absorbed by the millions of Java programmers.

That's why I asked 34 days ago:

Me: ... what are they going to do after Java 7? Add a macro system?

With many Java programmers I know still working with Java 4 (my current project included), whether a feature show up in Java 7 or Java 8 really doesn't matter that much, at least for the next three years, during which time we'd be lucky if we can advance to Java 6.

Save some of that stuff for later. Maybe we should create a fictitious "Java ∞" (or Java 3000) to which all language feature proposals are made and debated and designed and tested. And the real Java releases (Java 7, Java 8, etc.) will only pick a few well regarded features from "Java ∞".

Tags :


Re: No New Language Features In Java 7?

Most languages (whether Ruby, Groovy, Scala etc) can compile down to existing Java 4/5 bytecode just fine. Heck look at all the existing languages... http://www.robert-tolksdorf.de/vmlanguages.html so if there ever was an attempt to do things like adding closures to Java (which I"d love BTW) or even a new Java 3000 or whatnot; there's no reason why it couldn't be an optional jar used with any JVM (so folks can try it out today rather than waiting 10 years for Java 8 etc

Re: No New Language Features In Java 7?

This doesn't surprise me a bit. I was on the C++ standards committee, and I know it is a huge mess to add complicated language features with a distributed group of people that doesn't agree. It must be very frustrating for Gafter to have to negotiate a closure proposal with several different teams of high-profile people. I don't envy him! Mats

Add a comment Send a TrackBack