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?
  • 77
  • 2
  • 10494
  • 8

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.

Play Framework
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Akka
  2. Design Patterns
  3. OO JS
  4. Cont. Delivery
  5. HTML5 Mobile
  1. Akka
  2. JUnit/EasyMock
  3. Java Performance
  4. REST
  5. Java