BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. HTML5 Canvas
  2. Ruby
  3. iPhone/iPad
  4. Spring Web Flow
  5. REST
  1. jQuery Selectors
  2. Spring Config.
  3. Java
  4. Ajax
  5. Java Concurrency

Link Details

Link 295555 thumbnail
User 214988 avatar

By puredanger
via puredanger.com
Published: Nov 18 2009 / 10:57

Mark Reinhold announces adding closures to JDK 7 at Devoxx?
  • 78
  • 3
  • 8847
  • 1

Comments

Add your comment
User 281050 avatar

cbang replied ago:

3 votes Vote down Vote up Reply

I'm confused... Closures, multiple proposals, no closures and now closures again?!

User 270133 avatar

markmahieu replied ago:

0 votes Vote down Vote up Reply

The BGGA spec has been updated to version 06a at http://www.javac.info/

User 393686 avatar

RawThinkTank replied ago:

-6 votes [show comment] Vote down Vote up Reply
User 216023 avatar

sakuraba replied ago:

0 votes Vote down Vote up Reply

Woohooo! Closures are awesome. Once you get used to them, you dont want to write imperative code again.

User 393686 avatar

RawThinkTank replied ago:

-5 votes [show comment] Vote down Vote up Reply
User 231703 avatar

MattRussell replied ago:

4 votes Vote down Vote up Reply

A competent programmer.

User 216023 avatar

sakuraba replied ago:

4 votes Vote down Vote up Reply

Any language feature can be used to write good/bad code. But if I get the chance to write


button.addActionListener(#(ActionEvent e) System.out.println("Hi!));


instead of


button.addActionListener(
new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.out.println("Hi!"); } } );


I will gladly applaud the improved readability.

(Sample taken from: http://weblogs.java.net/blog/cayhorstmann/archive/2009/11/18/closures-java-7)

User 338269 avatar

Miloskov replied ago:

0 votes Vote down Vote up Reply

AWESOME!

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

But how the hell will you manage your code in your ENTIRE company, why will i work for you if your coding style is pathetically unreadable compared to mine ?

And hey yo, what will happen when every tom dick and harry create their own syntax , LOL

User 216023 avatar

sakuraba replied ago:

0 votes Vote down Vote up Reply

You will have to get used to it, I guess. Or you can start learning COBOL, there are a lot of jobs out there in the financial industry for legacy application maintenance. If you like a language that does not evolve, there is your chance. :P

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

Your replay says it all about who is wise and what i should be doing in next ten years

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.