Re:Eclipse launches new language to cut down Java boilerplat...
by itsnotvalid on Friday November 04, 2011 @09:20PM
(#3198504)
I don't know, but, often get irriated by the usage of "closures" when it means "anonymous function/expression".
[ Parent
| on HN ]
Re:Eclipse launches new language to cut down Java boilerplat...
by ScottBurson on Friday November 04, 2011 @10:08PM
(#3198617)
Agreed. As I've written here previously:
http://news.ycombinator.com/item?id=2303548
A longer explanation:
Re:Eclipse launches new language to cut down Java boilerplat...
by groovy2shoes on Friday November 04, 2011 @11:02PM
(#3198740)
You don't have to assume that they actually mean anonymous functions. There's no real reason why the Xtend compiler couldn't translate closures to Java objects.
Re:Eclipse launches new language to cut down Java boilerplat...
by itsnotvalid on Monday November 07, 2011 @01:24PM
(#3207505)
But by closure I usually refer to the definition of some Lisp books:
>> a closure is a collection of closed-over variables retained by a function.
I don't really dig deep for what the constructs would produce in memory, but they should be some lambda expression.