Re:Java 8 Lambdas
by majormajor on Sunday June 24, 2012 @04:19PM
(#4154145)
When it comes to how much code you can keep in your head, do you really keep the boilerplate there? Whenever I've used Java and had to attach an ActionListener or whatever, I don't think of it as being an anonymous class with a single method, I think of it as just the logic in the method when I'm reasoning about the program.
It is a pain to write if you don't like having to let the IDE do everything for you, though.
Virtually every other modern programming language has a lambda, it's good to see Java catch up. This isn't about Java versus any particular language.