Hacker News new | ask | show | jobs
by Teckla 5604 days ago
It has been extremely well documented that closures are planned for Java 8. If you absolutely, positively can't wait, anonymous inner classes are your best work-around at the moment. However, it turns out you can, in fact, get by without closures.

Or is this just a thinly veiled attempt to insult the current state of Java? If so, it might be more productive to simply choose a different programming language that you like better.

1 comments

Whoa! Slow down, buddy. Didn't mean to push your buttons there. You're right, I do get by just fine using inner classes, and will continue to do so. I was just wondering for the pure convenience of making code prettier.