This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Thoughts on Java 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Thoughts on Java 7" Watch "Thoughts on Java 7" New topic
Author

Thoughts on Java 7

Corey Anson
Greenhorn

Joined: Jul 06, 2011
Posts: 1
Jim,

What are your thoughts on Java 7? Are these new changes good for the language or just adding more layers to deal with?

Thanks
john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

I think they are good. I am not sure that some of them will be all that useful (such as 1_000_000 instead of 1000000), but I think it is for the better. I really am looking forward to the G1 collector...
cc11rocks


“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Jim Waldo
author
Greenhorn

Joined: Jun 22, 2011
Posts: 29
So, I have to admit that I haven't looked that much at Java 7-- I'm a Mac user, and Java 7 is not yet available for that platform.

Let me turn the question around-- what things in Java 7 do members here think are good, and which just make the language and environment more complex and harder to deal with? Do the rest of you think I should be interested in Java 7?

Jim Waldo
Author of Java:The Good Parts
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4634
    
    5

I haven't looked in depth at Java 7 yet, but there is a good thread on it in another section on the ranch:
http://www.coderanch.com/t/544138/Java/java/there-clear-list-description-new
As I wrote in that thread, so far, I haven't seen anything to get excited about. There are a couple of nice things, but nothing that makes me care about when Java 7 gets deployed.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18116
    
    8

The try-with-resources feature looks good, in that it can help me get rid of a ton of cruft in my database code. But that isn't going to make me rush out and get Java 7 so I can use it -- the existing database code ain't broken, at least not if I looked at it recently.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4634
    
    5

Paul Clapham wrote:The try-with-resources feature looks good, in that it can help me get rid of a ton of cruft in my database code. But that isn't going to make me rush out and get Java 7 so I can use it -- the existing database code ain't broken, at least not if I looked at it recently.

The sad reality of this business is that if your production code relies on something, like Paul's database code, you can't afford to fix it by changing to the latest and greatest.

If it ain't broke, don't fix it.
Gabor Liptak
Greenhorn

Joined: Jul 14, 2009
Posts: 8
So your book doesn't cover the proposed (and accepted) new Java7 features?

Jim Waldo wrote:So, I have to admit that I haven't looked that much at Java 7-- I'm a Mac user, and Java 7 is not yet available for that platform.

Let me turn the question around-- what things in Java 7 do members here think are good, and which just make the language and environment more complex and harder to deal with? Do the rest of you think I should be interested in Java 7?
Jim Waldo
author
Greenhorn

Joined: Jun 22, 2011
Posts: 29
Gabor Liptak wrote:So your book doesn't cover the proposed (and accepted) new Java7 features?



It would have been quite a trick if it had. My book has been out for over a year, and Java 7 just came out. Further, from what I can see, the new features of Java 7 (with the possible exception of NIO.2, which brings to mind Bullwinkle declaring "this time for sure") are not real candidates for being in the Good Parts...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thoughts on Java 7
 
Similar Threads
JAVA 7 launching on 7/7/2011
What's on your iPad 3 wishlist? What are we likely to actually see?
what has changed in javaSE since 2005?
Running Java 1.4 compiled code using 1.5 JVM
generics and arrays