I won't dare to enter the ground of interpreting what's a closure
because I'd get it wrong. But I think that the following statements are
true:
1. "foobar" is a language construct that either is the same thing of a
closure or a subset of a closure
2. foobars are useful for programmers
3. the difference between a foobar and a closure, if any, is neglectable
from a practical point of view
4. Java has always had foobars, in form of SAM classes
5. Java 8 provides a nicer, shorter syntax for foobars
I think that points 1, 2, 4, and 5 are quite obvious and I suppose
nobody disagrees. So, the important point is #3. If you can't
demonstrate that point #3 is false, then clay and Cédric might be not
pedantic enough from a semantic point of view (not my business), but are
substantially right.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]
--
You received this message because you are subscribed to the Google Groups "The Java
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/javaposse?hl=en.