Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When will closures be present in Java language?

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?
 
Palak Mathur
Ranch Hand
Posts: 342
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?


I think what is meant is the latter question. Am I right Rogerio?
 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Palak Mathur wrote:
Bear Bibeault wrote:Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?


I think what is meant is the latter question. Am I right Rogerio?


Actually it was closures what I meant to say, indeed.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I've adjusted the topic title accordingly.
 
Raymond Tong
Ranch Hand
Posts: 255
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rogerio Kioshi wrote:
Actually it was closures what I meant to say, indeed.

Target on Java 8.
 
Palak Mathur
Ranch Hand
Posts: 342
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rogerio Kioshi wrote:
Palak Mathur wrote:
Bear Bibeault wrote:Clojure is a language. What do mean when will it be present in Java? It's like asking when C++ will be present in Java. Makes no sense.

Or are you asking when the concept of closures will be added to Java?


I think what is meant is the latter question. Am I right Rogerio?


Actually it was closures what I meant to say, indeed.


Yes, it is going to be part of Java 8. See this: http://openjdk.java.net/projects/lambda/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic