Re: Java 8 Lambda binary snapshot



On 11-11-11 08:38 PM, markspace wrote:
On 11/11/2011 4:20 PM, Lew wrote:
I look at Java closures as just syntactic sugar for anonymous
interface implementations, and conversely, as anonymous interface
implementations as a poor-man's closure.

I think it's fortunate that Java developers aren't going to have to
absorb everything about closures and lambda expressions in one go. The
current implementation allows folks to digest the new lambda expressions
in a smaller portion size.

But yes I'd like to understand better the theory behind it too.
Especially as Brian Goetz (and probably others) seems to want to drive
parallelism into Java by using SAM literals. More information is always
good, imo.

Truth be told I am anticipating the entire set of Java 8 features, not
just the bulk-data operations + lambdas. For what I do in real life, for
example, the modularity work will probably be more important.

I'm onside with Lew's take on these things. Also, I look at the fact
that in real life (that is to say, "on the job") it is unlikely that any
client environment I work in will be using Java 7 before Java 8 comes
out, and that it is unlikely (based on experience) that Java 8 itself
will be used by a large percentage of my clients before, say, 2015.

AHS
--
You should know the problem before you try to solve it.
Example: When my son was three he cried about a problem with his hand. I
kissed it several times and asked him about the problem. He peed on his
hand.
-- Radia Perlman, inventor of spanning tree protocol
.



Relevant Pages

  • Re: Java 8 Lambda binary snapshot
    ... interface implementations, and conversely, as anonymous interface ... implementations as a poor-man's closure. ... absorb everything about closures and lambda expressions in one go. ... Truth be told I am anticipating the entire set of Java 8 features, ...
    (comp.lang.java.programmer)
  • Re: Java 8 Lambda binary snapshot
    ... interface implementations, and conversely, as anonymous interface ... implementations as a poor-man's closure. ... absorb everything about closures and lambda expressions in one go. ... Truth be told I am anticipating the entire set of Java 8 features, ...
    (comp.lang.java.programmer)
  • Re: Gedcom X
    ... implementations and back fitting a model to them. ... The Repository entity is, IMV superfluous - it would be far simpler and more flexible to have a single self-referential entity for all levels of a provenance chain, the repositories, publishers, etc. being those instances with a null parent field. ... ISTM that they're defining schemas and Java classes in parallel and that's there model. ...
    (soc.genealogy.computing)
  • Re: ADTPro beta available
    ... If it runs on all other implementations of Java (and meets the specs ... of the Java platform on the non-functioning system. ... If it does not run on other implementations of Java (and violates the ... like any other Windows application. ...
    (comp.sys.apple2)
  • Re: Java daemon
    ... daemon suffers from the same memory problem? ... The most common complaint that crosses implementations is the ... Java programmer has no permission to invoke it directly, ... Think about why you'd want to invoke the Java GC yourself, ...
    (comp.lang.java.programmer)